git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34090
3c298f89-4303-0410-b956-
a3cf2f4a3e73
done
[ "$broadcast" = 1 ] && broadcast="-O broadcast" || broadcast=
+ [ -n "$clientid" ] && clientid="-x 0x3d:${clientid//:/}" || clientid="-C"
proto_export "INTERFACE=$config"
proto_run_command "$config" udhcpc \
-f -t 0 -i "$iface" \
${ipaddr:+-r $ipaddr} \
${hostname:+-H $hostname} \
- ${clientid:+-x 0x3d:${clientid//:/}} \
${vendorid:+-V $vendorid} \
- $broadcast $dhcpopts
+ $clientid $broadcast $dhcpopts
}
proto_dhcp_teardown() {