changeset 5279:cab28576ec7e draft

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.
author Roy Marples <roy@marples.name>
date Fri, 29 May 2020 22:33:30 +0300
parents ffa72e19fcb8
children a986083da0ba
files src/if.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/if.h	Fri May 29 22:07:49 2020 +0300
+++ b/src/if.h	Fri May 29 22:33:30 2020 +0300
@@ -119,6 +119,11 @@
  * 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;