aboutsummaryrefslogtreecommitdiffstats
path: root/package/netifd/files
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
commit7e7a63e7793efa5a37017707f1d5413b41ae7e80 (patch)
tree3c04037263dac2310238466da1ec49b7efb99b6f /package/netifd/files
parent777a92685b39384b35e9958fef9472f89a0eeecf (diff)
downloadupstream-7e7a63e7793efa5a37017707f1d5413b41ae7e80.tar.gz
upstream-7e7a63e7793efa5a37017707f1d5413b41ae7e80.tar.bz2
upstream-7e7a63e7793efa5a37017707f1d5413b41ae7e80.zip
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
Diffstat (limited to 'package/netifd/files')
-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 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
}