projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netifd: fix "Command failed: Not found" error with dhcp
[openwrt/openwrt.git]
/
package
/
netifd
/
files
/
lib
/
netifd
/
proto
/
dhcp.sh
diff --git
a/package/netifd/files/lib/netifd/proto/dhcp.sh
b/package/netifd/files/lib/netifd/proto/dhcp.sh
index eab14627f61b7b0d2536bb760c5a02a5952a3128..4bdb3a7d06269b14c0e0e2c74a2d4ce9d76cbc1b 100755
(executable)
--- 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