Skip to content
Snippets Groups Projects
Commit bad59fd5 authored by Sven Roederer's avatar Sven Roederer Committed by Adrian Schmutzler
Browse files

6in4/6in4.sh: remove some bashism (usage of [[)


"[[" is a bash extension for test. As the ash-implementation is not
fully compatible we drop its usage.

Signed-off-by: default avatarSven Roederer <devel-sven@geroedel.de>
parent bc357aaa
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ proto_6in4_setup() {
[ -n "$ip6addr" ] && {
local local6="${ip6addr%%/*}"
local mask6="${ip6addr##*/}"
[[ "$local6" = "$mask6" ]] && mask6=
[ "$local6" = "$mask6" ] && mask6=
proto_add_ipv6_address "$local6" "$mask6"
proto_add_ipv6_route "::" 0 "" "" "" "$local6/$mask6"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment