]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Solaris: IP_RECVIF is busted on DilOS at least
authorRoy Marples <roy@marples.name>
Fri, 29 May 2020 19:33:30 +0000 (22:33 +0300)
committerRoy Marples <roy@marples.name>
Fri, 29 May 2020 19:33:30 +0000 (22:33 +0300)
Luckily Solaris supports IP_PKTINFO as well so lets fall back
to that for the time being.

src/if.h

index 23d94914c4d9db275013ad2e9df01b2202b6f154..ad1239fd92a6cbdb0a4376a6304c6d827afeea4e 100644 (file)
--- 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;