diff options
author | Steven Barth <cyrus@openwrt.org> | 2014-11-08 12:24:49 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2014-11-08 12:24:49 +0000 |
commit | 990b501ec4128aa1bc94922adf6b4592570bcc6f (patch) | |
tree | f70b33095d4169a4837b1e4f77116dc37f7ff29b /package/network/config/netifd/files | |
parent | 07754ac29777a0a81d2ed74a7fb79a223760693e (diff) | |
download | upstream-990b501ec4128aa1bc94922adf6b4592570bcc6f.tar.gz upstream-990b501ec4128aa1bc94922adf6b4592570bcc6f.tar.bz2 upstream-990b501ec4128aa1bc94922adf6b4592570bcc6f.zip |
netifd: fix default ORO-setting for 6rd
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 43214
Diffstat (limited to 'package/network/config/netifd/files')
-rwxr-xr-x | package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 2 |
1 files changed, 1 insertions, 1 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 6668b49c21..d4c483d690 100755 --- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh +++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh @@ -40,7 +40,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" + [ "$iface6rd" != 0 -a -f /lib/netifd/proto/6rd.sh ] && append dhcpopts "-O 212" [ -n "$zone6rd" ] && proto_export "ZONE6RD=$zone6rd" [ -n "$zone" ] && proto_export "ZONE=$zone" [ -n "$mtu6rd" ] && proto_export "MTU6RD=$mtu6rd" |