summaryrefslogtreecommitdiff
path: root/package/network/config/netifd
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2014-03-26 09:48:20 +0000
committerSteven Barth <cyrus@openwrt.org>2014-03-26 09:48:20 +0000
commit2a893c205727686089887358498248ea21a91106 (patch)
tree38ba942768c0c4b771504dbb19d3c92e3d549086 /package/network/config/netifd
parentec44a0f11e89101d31cd1bb7f9206fadede61e3e (diff)
downloadmtk-20170518-2a893c205727686089887358498248ea21a91106.zip
mtk-20170518-2a893c205727686089887358498248ea21a91106.tar.gz
mtk-20170518-2a893c205727686089887358498248ea21a91106.tar.bz2
dhcp: send 6rd-ORO when expecting 6rd-information
SVN-Revision: 40019
Diffstat (limited to 'package/network/config/netifd')
-rw-r--r--package/network/config/netifd/Makefile2
-rwxr-xr-xpackage/network/config/netifd/files/lib/netifd/proto/dhcp.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/package/network/config/netifd/Makefile b/package/network/config/netifd/Makefile
index 75314f1..8414ff9 100644
--- a/package/network/config/netifd/Makefile
+++ b/package/network/config/netifd/Makefile
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=netifd
-PKG_VERSION:=2014-03-21
+PKG_VERSION:=2014-03-26
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE_PROTO:=git
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 0481d05..80c3562 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"