aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/netifd/files
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-03-26 09:48:20 +0000
committerSteven Barth <steven@midlink.org>2014-03-26 09:48:20 +0000
commit3e85c08bbb6bd627bc8edf5f45aa3fcc4d1c8081 (patch)
treef6e8cde93e3a2dbaba0fc6ade9c8289e4259747b /package/network/config/netifd/files
parenta284ffb5a3ec1fce2eac57e140fb4c02c2a7e5eb (diff)
downloadupstream-3e85c08bbb6bd627bc8edf5f45aa3fcc4d1c8081.tar.gz
upstream-3e85c08bbb6bd627bc8edf5f45aa3fcc4d1c8081.tar.bz2
upstream-3e85c08bbb6bd627bc8edf5f45aa3fcc4d1c8081.zip
dhcp: send 6rd-ORO when expecting 6rd-information
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40019 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/config/netifd/files')
-rwxr-xr-xpackage/network/config/netifd/files/lib/netifd/proto/dhcp.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
index 0481d05132..80c3562e69 100755
--- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
@@ -36,6 +36,7 @@ proto_dhcp_setup() {
[ "$broadcast" = 1 ] && broadcast="-B" || broadcast=
[ -n "$clientid" ] && clientid="-x 0x3d:${clientid//:/}" || clientid="-C"
[ -n "$iface6rd" ] && proto_export "IFACE6RD=$iface6rd"
+ [ -n "$iface6rd" ] && append dhcpopts "-O 212"
[ "$delegate" = "0" ] && proto_export "IFACE6RD_DELEGATE=0"
proto_export "INTERFACE=$config"