From: John Crispin Date: Tue, 3 Feb 2015 10:10:54 +0000 (+0000) Subject: map: Fix white space errors X-Git-Tag: reboot~4452 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fd2689ecfc5c31e138b5b944c373f6b512237eca;p=openwrt%2Fstaging%2Fblogic.git map: Fix white space errors Signed-off-by: Hans Dedecker SVN-Revision: 44246 --- diff --git a/package/network/ipv6/map/files/map.sh b/package/network/ipv6/map/files/map.sh index 945accdebdb4..10789f07ca30 100755 --- a/package/network/ipv6/map/files/map.sh +++ b/package/network/ipv6/map/files/map.sh @@ -62,7 +62,7 @@ proto_map_setup() { echo "$RULE_DATA" >> /tmp/map-$cfg.rules eval $RULE_DATA - + if [ -z "$RULE_BMR" ]; then proto_notify_error "$cfg" "NO_MATCHING_PD" proto_block_restart "$cfg" @@ -73,7 +73,7 @@ proto_map_setup() { if [ "$type" = "lw4o6" -o "$type" = "map-e" ]; then proto_init_update "$link" 1 proto_add_ipv4_address $(eval "echo \$RULE_${k}_IPV4ADDR") "" "" "" - + proto_add_tunnel json_add_string mode ipip6 json_add_int mtu "${mtu:-1280}" @@ -194,7 +194,7 @@ proto_map_teardown() { } proto_map_init_config() { - no_device=1 + no_device=1 available=1 proto_config_add_string "rule"