diff options
author | Steven Barth <cyrus@openwrt.org> | 2014-03-13 10:40:56 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2014-03-13 10:40:56 +0000 |
commit | 7ac0057c1f3a2daf2d90021799c5cc9def77b905 (patch) | |
tree | 88e43a840dabcc63bd6994d4dab1a69678e3c7f6 /package/network/ipv6/odhcp6c/files/dhcpv6.script | |
parent | edd75e332c01b7156d18f71774aa7da042140296 (diff) | |
download | upstream-7ac0057c1f3a2daf2d90021799c5cc9def77b905.tar.gz upstream-7ac0057c1f3a2daf2d90021799c5cc9def77b905.tar.bz2 upstream-7ac0057c1f3a2daf2d90021799c5cc9def77b905.zip |
odhcp6c: pass on delegate-flag on to ds-lite interface
SVN-Revision: 39910
Diffstat (limited to 'package/network/ipv6/odhcp6c/files/dhcpv6.script')
-rwxr-xr-x | package/network/ipv6/odhcp6c/files/dhcpv6.script | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script index 13732df086..563c9ada0d 100755 --- a/package/network/ipv6/odhcp6c/files/dhcpv6.script +++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script @@ -84,6 +84,7 @@ setup_interface () { json_add_string proto "dslite" json_add_string peeraddr "$AFTR_IP" json_add_string tunlink "$INTERFACE" + [ -n "$IFACE_DSLITE_DELEGATE" ] && json_add_boolean delegate "$IFACE_DSLITE_DELEGATE" json_close_object ubus call network add_dynamic "$(json_dump)" fi |