aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/ifupdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index c34e2b955..de65d29f3 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -557,7 +557,7 @@ static int dhcp_down(struct interface_defn_t *ifd, execfn *exec)
557 } else if (execable("/sbin/dhcpcd")) { 557 } else if (execable("/sbin/dhcpcd")) {
558 result = execute("dhcpcd -k %iface%", ifd, exec); 558 result = execute("dhcpcd -k %iface%", ifd, exec);
559 } 559 }
560 return (result || execute("ifconfig %iface% down", ifd, exec)); 560 return (result || bootp_down(ifd, exec));
561} 561}
562 562
563static int bootp_up(struct interface_defn_t *ifd, execfn *exec) 563static int bootp_up(struct interface_defn_t *ifd, execfn *exec)