svn commit: r333476 - head/sys/net
Dag-Erling Smørgrav
des at des.no
Fri May 11 14:36:39 UTC 2018
This booted and runs without issue, although obviously I wouldn't want
to commit it:
Index: sys/net/if.c
===================================================================
--- sys/net/if.c (revision 333490)
+++ sys/net/if.c (working copy)
@@ -1814,6 +1814,7 @@
ifa_maintain_loopback_route(int cmd, const char *otype, struct ifaddr *ifa,
struct sockaddr *ia)
{
+#if 0
int error;
struct rt_addrinfo info;
struct sockaddr_dl null_sdl;
@@ -1837,6 +1838,9 @@
if_printf(ifp, "%s failed: %d\n", otype, error);
return (error);
+#else
+ return (0);
+#endif
}
int
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the svn-src-head
mailing list