aboutsummaryrefslogtreecommitdiffstats
path: root/package/netifd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-26 20:36:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-26 20:36:49 +0000
commit1c0a92e465eb324505cb4f4b0b45f608f6dd4746 (patch)
tree575e93be7eb7171ea5457b1ff7ad7abcd913231f /package/netifd
parent59d9fc66ff01febf40f3b32cf9df89edb03ea3c3 (diff)
downloadupstream-1c0a92e465eb324505cb4f4b0b45f608f6dd4746.tar.gz
upstream-1c0a92e465eb324505cb4f4b0b45f608f6dd4746.tar.bz2
upstream-1c0a92e465eb324505cb4f4b0b45f608f6dd4746.zip
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')
-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