summaryrefslogtreecommitdiff
path: root/zebra/interface.c
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 /zebra/interface.c
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 'zebra/interface.c')
-rw-r--r--zebra/interface.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index d29f61450e..3210855801 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -464,17 +464,7 @@ int if_subnet_delete(struct interface *ifp, struct connected *ifc)
*/
static void if_flags_mangle(struct interface *ifp, uint64_t *newflags)
{
-#ifdef SUNOS_5
- struct zebra_if *zif = ifp->info;
-
- zif->primary_state = *newflags & (IFF_UP & 0xff);
-
- if (CHECK_FLAG(zif->primary_state, IFF_UP)
- || listcount(ifp->connected) > 0)
- SET_FLAG(*newflags, IFF_UP);
- else
- UNSET_FLAG(*newflags, IFF_UP);
-#endif /* SUNOS_5 */
+ return;
}
/* Update the flags field of the ifp with the new flag set provided.