summaryrefslogtreecommitdiffstats
path: root/src/if.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-05-29 22:33:30 +0300
committerRoy Marples <roy@marples.name>2020-05-29 22:33:30 +0300
commit2b1d94c0a789448b59e177b7e8842cff6cab7e0a (patch)
tree03573b0c02745a7e683f20b17c2707e0e2cb6ec9 /src/if.h
parent20c1eb5dbe1cddc0ec4b6ea1955a51c638d7f205 (diff)
downloaddhcpcd-2b1d94c0a789448b59e177b7e8842cff6cab7e0a.tar.xz
Solaris: IP_RECVIF is busted on DilOS at least
Luckily Solaris supports IP_PKTINFO as well so lets fall back to that for the time being.
Diffstat (limited to 'src/if.h')
-rw-r--r--src/if.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/if.h b/src/if.h
index 23d94914..ad1239fd 100644
--- a/src/if.h
+++ b/src/if.h
@@ -119,6 +119,11 @@ typedef unsigned long ioctl_request_t;
* but then ignores it. */
#undef RTF_CLONING
+/* This interface is busted on DilOS at least.
+ * It used to work, but lukily Solaris can fall back to
+ * IP_PKTINFO. */
+#undef IP_RECVIF
+
/* Solaris getifaddrs is very un-suitable for dhcpcd.
* See if-sun.c for details why. */
struct ifaddrs;