diff options
author | Donald Sharp <sharpd@nvidia.com> | 2020-09-09 05:59:18 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2020-09-21 16:02:20 +0200 |
commit | cae8bc967cf7c93b7924ae4aaa05a99dfe345c78 (patch) | |
tree | c7de335da42ae46a645cecee414b85c8f991f79e /zebra/interface.c | |
parent | Merge pull request #7036 from ton31337/fix/do_not_allow_setting_maximum-prefi... (diff) | |
download | frr-cae8bc967cf7c93b7924ae4aaa05a99dfe345c78.tar.xz frr-cae8bc967cf7c93b7924ae4aaa05a99dfe345c78.zip |
*: 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.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/zebra/interface.c b/zebra/interface.c index d29f61450..321085580 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. |