summaryrefslogtreecommitdiffstats
path: root/package/netifd/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/netifd/files')
-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 eab14627f..4bdb3a7d0 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