netifd: repair dhcp client id option Busybox udhcpc dropped support for the -c option, instead it can be emulated by using -x 0x3d:id, change the dhcp protocol script accordingly and filter all colons from the id while we're at it. This change supersedes http://patchwork.openwrt.org/patch/1810/
SVN-Revision: 32573
This commit is contained in:
parent
deff2382d0
commit
bcacf552fd
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ proto_dhcp_setup() {
|
||||||
-f -t 0 -i "$iface" \
|
-f -t 0 -i "$iface" \
|
||||||
${ipaddr:+-r $ipaddr} \
|
${ipaddr:+-r $ipaddr} \
|
||||||
${hostname:+-H $hostname} \
|
${hostname:+-H $hostname} \
|
||||||
${clientid:+-c $clientid} \
|
${clientid:+-x 0x3d:${clientid//:/}} \
|
||||||
${vendorid:+-V $vendorid} \
|
${vendorid:+-V $vendorid} \
|
||||||
$broadcast $dhcpopts
|
$broadcast $dhcpopts
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue