aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2014-05-09 11:58:04 +0000
committerSteven Barth <cyrus@openwrt.org>2014-05-09 11:58:04 +0000
commitcc80c115380d7ac220c198e17dfd2ac6499239a0 (patch)
tree581d83bd6991a8f6dc6eaf6c6cdaf82b9622a151
parent108c0f53197ddb49cfe331dce3d547eccab5bbdb (diff)
downloadupstream-cc80c115380d7ac220c198e17dfd2ac6499239a0.tar.gz
upstream-cc80c115380d7ac220c198e17dfd2ac6499239a0.tar.bz2
upstream-cc80c115380d7ac220c198e17dfd2ac6499239a0.zip
odhcp6c: bring up nested interfaces on config change
SVN-Revision: 40745
-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