Skip to content
Snippets Groups Projects
Commit a5f5e5e2 authored by cyrus's avatar cyrus
Browse files

odhcp6c: bring up nested interfaces on config change

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40745 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent b39024e4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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