diff options
author | cyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-13 17:12:25 +0000 |
---|---|---|
committer | cyrus <cyrus@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-05-13 17:12:25 +0000 |
commit | e85e8e515bae09de251355b87a08d6162266b2f0 (patch) | |
tree | 442fb5337541e77c0f293f9fb8fd322ddc0c8102 /package/network/ipv6/odhcp6c/files/dhcpv6.sh | |
parent | 52477fd829ae908875b177553558b9d11c161563 (diff) |
odhcp6c: added support for DS-Lite + various fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36625 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6/odhcp6c/files/dhcpv6.sh')
-rwxr-xr-x | package/network/ipv6/odhcp6c/files/dhcpv6.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.sh b/package/network/ipv6/odhcp6c/files/dhcpv6.sh index 6cf7521fe0..b2264ed907 100755 --- a/package/network/ipv6/odhcp6c/files/dhcpv6.sh +++ b/package/network/ipv6/odhcp6c/files/dhcpv6.sh @@ -18,8 +18,8 @@ proto_dhcpv6_setup() { local config="$1" local iface="$2" - local reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix - json_get_vars reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix + local reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix iface_dslite + json_get_vars reqaddress reqprefix clientid reqopts noslaaconly norelease ip6prefix iface_dslite # Configure @@ -40,6 +40,7 @@ proto_dhcpv6_setup() { done [ -n "$ip6prefix" ] && proto_export "USERPREFIX=$ip6prefix" + [ -n "$iface_dslite" ] && proto_export "IFACE_DSLITE=$iface_dslite" proto_export "INTERFACE=$config" proto_run_command "$config" odhcp6c \ |