summaryrefslogtreecommitdiff
path: root/package/netifd/files/lib
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-26 20:36:49 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-26 20:36:49 +0000
commitd99899b1fccc9b07a6eec06288adc269944bca17 (patch)
tree575e93be7eb7171ea5457b1ff7ad7abcd913231f /package/netifd/files/lib
parent00d5b5d73f99a20bc4341bef00c35a7bbd43a09f (diff)
netifd: fix "Command failed: Not found" error with dhcp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31863 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/netifd/files/lib')
-rwxr-xr-xpackage/netifd/files/lib/netifd/proto/dhcp.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh b/package/netifd/files/lib/netifd/proto/dhcp.sh
index eab14627f6..4bdb3a7d06 100755
--- a/package/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/package/netifd/files/lib/netifd/proto/dhcp.sh
@@ -40,7 +40,8 @@ proto_dhcp_setup() {
}
proto_dhcp_teardown() {
- proto_kill_command
+ local interface="$1"
+ proto_kill_command "$interface"
}
add_protocol dhcp