aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-04-28 14:57:52 +0000
committerSteven Barth <steven@midlink.org>2015-04-28 14:57:52 +0000
commit33762a8e8766182410ce3e468506cd16952cf069 (patch)
tree5c43c7983e6357475ac8332c4bbfa66d426d8cce /package/network/ipv6
parent55a91bf13e0983ca302ca382305a23e8507e71a2 (diff)
downloadupstream-33762a8e8766182410ce3e468506cd16952cf069.tar.gz
upstream-33762a8e8766182410ce3e468506cd16952cf069.tar.bz2
upstream-33762a8e8766182410ce3e468506cd16952cf069.zip
odhcp6c: Fix white space errors
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45585 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6')
-rwxr-xr-xpackage/network/ipv6/odhcp6c/files/dhcpv6.script16
1 files changed, 8 insertions, 8 deletions
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script
index 5f3ff1546e..5e5b9a9cea 100755
--- a/package/network/ipv6/odhcp6c/files/dhcpv6.script
+++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script
@@ -34,10 +34,10 @@ setup_interface () {
for prefix in $PREFIXES; do
proto_add_ipv6_prefix "$prefix"
- local entry="${prefix#*/}"
- entry="${entry#*,}"
- entry="${entry#*,}"
- local valid="${entry%%,*}"
+ local entry="${prefix#*/}"
+ entry="${entry#*,}"
+ entry="${entry#*,}"
+ local valid="${entry%%,*}"
if [ -z "$RA_ADDRESSES" -a -z "$RA_ROUTES" -a \
-z "$RA_DNS" -a "$FAKE_ROUTES" = 1 ]; then
@@ -69,10 +69,10 @@ setup_interface () {
proto_add_ipv6_address "$addr" "$mask" "$preferred" "$valid" 1
- if [ -z "$RA_ADDRESSES" -a -z "$RA_ROUTES" -a \
- -z "$RA_DNS" -a "$FAKE_ROUTES" = 1 ]; then
- RA_ROUTES="::/0,$SERVER,$valid,4096"
- fi
+ if [ -z "$RA_ADDRESSES" -a -z "$RA_ROUTES" -a \
+ -z "$RA_DNS" -a "$FAKE_ROUTES" = 1 ]; then
+ RA_ROUTES="::/0,$SERVER,$valid,4096"
+ fi
done
for entry in $RA_ROUTES; do