dhcp: send 6rd-ORO when expecting 6rd-information
[openwrt/svn-archive/archive.git] / package / network / config / netifd / files / lib / netifd / proto / dhcp.sh
index 0481d05132133287928e3aeb8d6135c470782c46..80c3562e69a36e380738ab6af68f53411fe86867 100755 (executable)
@@ -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"