← Commit list

238e354b5

Eric Andersen
Eric Andersen
2004-04-12
FAILED Duration: 29s

Subject

Eric Spakman noticed that ifdown' will attempt to run 'ifconfig' even if built with CONFIG_FEATURE_IFUPDOWN_IP when shutting down a dhcp connection.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/ifupdown.c+1 -1
@@ -557,7 +557,7 @@ static int dhcp_down(struct interface_defn_t *ifd, execfn *exec)
} else if (execable("/sbin/dhcpcd")) {
result = execute("dhcpcd -k %iface%", ifd, exec);
}
- return (result || execute("ifconfig %iface% down", ifd, exec));
+ return (result || bootp_down(ifd, exec));
}
static int bootp_up(struct interface_defn_t *ifd, execfn *exec)