← Commit list

1787e2246

Denis Vlasenko
Denis Vlasenko
2007-03-22
FAILED Duration: 11s

Subject

ifconfig: support (by ignoring it) "inet" before IP address or hostname

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/ifconfig.c+2 -0
@@ -387,6 +387,8 @@ int ifconfig_main(int argc, char **argv)
}
#endif
else {
+ if (strcmp(host, "inet") == 0)
+ continue; /* compat stuff */
len_and_sockaddr *lsa = xhost2sockaddr(host, 0);
#if ENABLE_FEATURE_IPV6
if (lsa->sa.sa_family == AF_INET6) {