Mercurial > hg > dhcpcd
changeset 2957:25dafd1a9960 draft
OpenBSD has automatic loopback routes
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Mon, 23 Feb 2015 12:05:34 +0000 |
| parents | 7f0f34ed67d8 |
| children | c5b27f45290c |
| files | ipv4.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ipv4.c Mon Feb 23 10:55:09 2015 +0000 +++ b/ipv4.c Mon Feb 23 12:05:34 2015 +0000 @@ -50,7 +50,7 @@ #include "script.h" #define IPV4_LOOPBACK_ROUTE -#ifdef __linux__ +#if defined(__linux__) || (defined(BSD) && defined(RTF_LOCAL)) /* Linux has had loopback routes in the local table since 2.2 */ #undef IPV4_LOOPBACK_ROUTE #endif
