odhcp6c: bring up nested interfaces on config change
authorSteven Barth <cyrus@openwrt.org>
Fri, 9 May 2014 11:58:04 +0000 (11:58 +0000)
committerSteven Barth <cyrus@openwrt.org>
Fri, 9 May 2014 11:58:04 +0000 (11:58 +0000)
SVN-Revision: 40745

package/network/ipv6/odhcp6c/files/dhcpv6.script

index 7a7f76f8338bede616baf2c8ed18f9bc10f6f39e..8746633277c431a5ab676d2450b4435655ddd4c3 100755 (executable)
@@ -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