projects
/
openwrt
/
staging
/
981213.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
039658f
)
netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet)
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 1 Nov 2011 22:02:40 +0000
(22:02 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 1 Nov 2011 22:02:40 +0000
(22:02 +0000)
SVN-Revision: 28713
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 674956175ad3d79780ee879bef9db5333dde1ce9..5219029ff3961485b10506ca012f608f30df06a6 100755
(executable)
--- a/
package/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/
package/netifd/files/lib/netifd/proto/dhcp.sh
@@
-4,7
+4,7
@@
. ../netifd-proto.sh
init_proto "$@"
-dhcp_init_config() {
+
proto_
dhcp_init_config() {
proto_config_add_string "ipaddr"
proto_config_add_string "netmask"
proto_config_add_string "hostname"
@@
-14,7
+14,7
@@
dhcp_init_config() {
proto_config_add_string "reqopts"
}
-dhcp_setup() {
+
proto_
dhcp_setup() {
local config="$1"
local iface="$2"
@@
-44,7
+44,7
@@
dhcp_setup() {
$broadcast $dhcpopts
}
-dhcp_teardown() {
+
proto_
dhcp_teardown() {
proto_kill_command
}