X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/3e96d1ef893dd82d358634c7895954b8d1618ba4..fcb4e88f44ae7fc0b4e8af1cfb5b88216acfa760:/package/6to4/files/6to4.sh diff --git a/package/6to4/files/6to4.sh b/package/6to4/files/6to4.sh index 5505d06c5..f7f48e5ba 100755 --- a/package/6to4/files/6to4.sh +++ b/package/6to4/files/6to4.sh @@ -203,8 +203,8 @@ setup_interface_6to4() { grep -qs "^ *$adv_ifname:" /proc/net/dev && { local adv_valid_lifetime adv_preferred_lifetime - config_get adv_valid_lifetime "${adv_interface:-lan}" adv_valid_lifetime - config_get adv_preferred_lifetime "${adv_interface:-lan}" adv_preferred_lifetime + config_get adv_valid_lifetime "$cfg" adv_valid_lifetime + config_get adv_preferred_lifetime "$cfg" adv_preferred_lifetime local subnet6="$(printf "%s:%x::1/64" "$prefix6" $adv_subnet)"