summaryrefslogtreecommitdiff
path: root/lib/sockopt.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-09-08 23:59:18 -0400
committerDonald Sharp <sharpd@nvidia.com>2020-09-21 10:02:20 -0400
commitcae8bc967cf7c93b7924ae4aaa05a99dfe345c78 (patch)
treec7de335da42ae46a645cecee414b85c8f991f79e /lib/sockopt.h
parent1f79037b72f0ec93153f9505a11bce9812429993 (diff)
*: Remove solaris from FRR
The Solaris code has gone through a deprecation cycle. No-one has said anything to us and worse of all we don't have any test systems running Solaris to know if we are making changes that are breaking on Solaris. Remove it from the system so we can clean up a bit. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/sockopt.h')
-rw-r--r--lib/sockopt.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/sockopt.h b/lib/sockopt.h
index 4081e6a45b..545abe631f 100644
--- a/lib/sockopt.h
+++ b/lib/sockopt.h
@@ -59,11 +59,7 @@ extern int setsockopt_ipv6_tclass(int, int);
#if defined(IP_RECVIF)
/* BSD/Solaris */
-#if defined(SUNOS_5)
-#define SOPT_SIZE_CMSG_RECVIF_IPV4() (sizeof(uint_t))
-#else
#define SOPT_SIZE_CMSG_RECVIF_IPV4() (sizeof(struct sockaddr_dl))
-#endif /* SUNOS_5 */
#endif /* IP_RECVIF */
/* SOPT_SIZE_CMSG_IFINDEX_IPV4 - portable type */