aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/ipv6/odhcp6c/files
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-05-09 11:58:04 +0000
committerSteven Barth <steven@midlink.org>2014-05-09 11:58:04 +0000
commit99bb6384ee2d67834f2e3de85202da6966cb4d0d (patch)
tree9794b3388a81deb0247dd98b4c5c0c0ad130f2ca /package/network/ipv6/odhcp6c/files
parentd14d875acb524d25c05869bdeb8af644087fbcba (diff)
downloadupstream-99bb6384ee2d67834f2e3de85202da6966cb4d0d.tar.gz
upstream-99bb6384ee2d67834f2e3de85202da6966cb4d0d.tar.bz2
upstream-99bb6384ee2d67834f2e3de85202da6966cb4d0d.zip
odhcp6c: bring up nested interfaces on config change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40745 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6/odhcp6c/files')
-rwxr-xr-xpackage/network/ipv6/odhcp6c/files/dhcpv6.script2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script
index 7a7f76f833..8746633277 100755
--- a/package/network/ipv6/odhcp6c/files/dhcpv6.script
+++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script
@@ -92,6 +92,7 @@ setup_interface () {
[ -n "$IFACE_DSLITE_DELEGATE" ] && json_add_boolean delegate "$IFACE_DSLITE_DELEGATE"
json_close_object
ubus call network add_dynamic "$(json_dump)"
+ ifup "$IFACE_DSLITE"
fi
MAPTYPE=""
@@ -120,6 +121,7 @@ setup_interface () {
[ -n "$IFACE_MAP_DELEGATE" ] && json_add_boolean delegate "$IFACE_MAP_DELEGATE"
json_close_object
ubus call network add_dynamic "$(json_dump)"
+ ifup "$IFACE_MAP"
fi
# TODO: $SNTP_IP $SIP_IP $SNTP_FQDN $SIP_DOMAIN