summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-11-01 22:02:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-11-01 22:02:40 +0000
commitb8d90aceb23e039e4996cc832bb709be341c7da6 (patch)
tree6ee08bf7e3281224fbce6a4fbcd09edbf4b7a603 /package
parent039658f8b37063f1069f0d9161f14c6b1fc00482 (diff)
downloadmtk-20170518-b8d90aceb23e039e4996cc832bb709be341c7da6.zip
mtk-20170518-b8d90aceb23e039e4996cc832bb709be341c7da6.tar.gz
mtk-20170518-b8d90aceb23e039e4996cc832bb709be341c7da6.tar.bz2
netifd: add missing proto handler conversion after r28632 (thx, Jonathan Bennet)
SVN-Revision: 28713
Diffstat (limited to 'package')
-rwxr-xr-xpackage/netifd/files/lib/netifd/proto/dhcp.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh b/package/netifd/files/lib/netifd/proto/dhcp.sh
index 6749561..5219029 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
}