netifd: fix "Command failed: Not found" error with dhcp

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31863 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2012-05-26 20:36:49 +00:00
parent 59d9fc66ff
commit 1c0a92e465

View File

@@ -40,7 +40,8 @@ proto_dhcp_setup() {
}
proto_dhcp_teardown() {
proto_kill_command
local interface="$1"
proto_kill_command "$interface"
}
add_protocol dhcp