mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-20 08:14:44 +02:00
netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28713 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
29eaeb4fb9
commit
5cb7c142d4
@ -4,7 +4,7 @@
|
|||||||
. ../netifd-proto.sh
|
. ../netifd-proto.sh
|
||||||
init_proto "$@"
|
init_proto "$@"
|
||||||
|
|
||||||
dhcp_init_config() {
|
proto_dhcp_init_config() {
|
||||||
proto_config_add_string "ipaddr"
|
proto_config_add_string "ipaddr"
|
||||||
proto_config_add_string "netmask"
|
proto_config_add_string "netmask"
|
||||||
proto_config_add_string "hostname"
|
proto_config_add_string "hostname"
|
||||||
@ -14,7 +14,7 @@ dhcp_init_config() {
|
|||||||
proto_config_add_string "reqopts"
|
proto_config_add_string "reqopts"
|
||||||
}
|
}
|
||||||
|
|
||||||
dhcp_setup() {
|
proto_dhcp_setup() {
|
||||||
local config="$1"
|
local config="$1"
|
||||||
local iface="$2"
|
local iface="$2"
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ dhcp_setup() {
|
|||||||
$broadcast $dhcpopts
|
$broadcast $dhcpopts
|
||||||
}
|
}
|
||||||
|
|
||||||
dhcp_teardown() {
|
proto_dhcp_teardown() {
|
||||||
proto_kill_command
|
proto_kill_command
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user