From 5cb7c142d484b5d03e5843dce628f68d149c384b Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Tue, 1 Nov 2011 22:02:40 +0000
Subject: [PATCH] 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
---
 package/netifd/files/lib/netifd/proto/dhcp.sh | 6 +++---
 1 file 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 674956175..5219029ff 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
 }
 
-- 
2.20.1