projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b3be47
)
AA: netifd: backport r34089
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 5 Nov 2012 19:47:15 +0000
(19:47 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 5 Nov 2012 19:47:15 +0000
(19:47 +0000)
SVN-Revision: 34090
package/netifd/files/lib/netifd/proto/dhcp.sh
patch
|
blob
|
history
diff --git
a/package/netifd/files/lib/netifd/proto/dhcp.sh
b/package/netifd/files/lib/netifd/proto/dhcp.sh
index 9182d58ad890fef4ea35ab38ea4429f10be09e73..7dea1cf6c23987e3d82e2a99ef854eb8b90d5a79 100755
(executable)
--- a/
package/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/
package/netifd/files/lib/netifd/proto/dhcp.sh
@@
-27,6
+27,7
@@
proto_dhcp_setup() {
done
[ "$broadcast" = 1 ] && broadcast="-O broadcast" || broadcast=
+ [ -n "$clientid" ] && clientid="-x 0x3d:${clientid//:/}" || clientid="-C"
proto_export "INTERFACE=$config"
proto_run_command "$config" udhcpc \
@@
-35,9
+36,8
@@
proto_dhcp_setup() {
-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() {