diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-09-22 17:04:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-22 17:04:19 -0400 |
| commit | b6033bd1c12ad03aef11b27b9ad5213e28bb7c6e (patch) | |
| tree | 65263a96fc019f018a7b015e0649fa7afe5d821a /zebra/interface.c | |
| parent | e2dcd0c2c5fe2a45a9bcd34a9cdce8a9059e0ec7 (diff) | |
| parent | 32d9e333b7516d311015531c68db30445d088266 (diff) | |
Merge pull request #7067 from donaldsharp/remove_solaris
Remove solaris
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 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. |
