From: Felix Fietkau Date: Tue, 1 Nov 2011 22:02:40 +0000 (+0000) Subject: netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b8d90aceb23e039e4996cc832bb709be341c7da6;p=openwrt%2Fstaging%2Fblocktrron.git netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet) SVN-Revision: 28713 --- diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh b/package/netifd/files/lib/netifd/proto/dhcp.sh index 674956175a..5219029ff3 100755 --- 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 }