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/table_manager.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/table_manager.c')
-rw-r--r-- | zebra/table_manager.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/zebra/table_manager.c b/zebra/table_manager.c index 7ed673a88..bb060588d 100644 --- a/zebra/table_manager.c +++ b/zebra/table_manager.c @@ -40,11 +40,7 @@ /* routing table identifiers * */ -#ifdef SUNOS_5 -/* SunOS - */ -#else -#if !defined(GNU_LINUX) && !defined(SUNOS_5) +#if !defined(GNU_LINUX) /* BSD systems */ #else @@ -55,8 +51,7 @@ #define RT_TABLE_ID_DEFAULT 253 #define RT_TABLE_ID_COMPAT 252 #define RT_TABLE_ID_UNSPEC 0 -#endif /* !def(GNU_LINUX) && !defined(SUNOS_5) */ -#endif /* SUNOS_5 */ +#endif /* !def(GNU_LINUX) */ #define RT_TABLE_ID_UNRESERVED_MIN 1 #define RT_TABLE_ID_UNRESERVED_MAX 0xffffffff @@ -126,11 +121,7 @@ struct table_manager_chunk *assign_table_chunk(uint8_t proto, uint16_t instance, start = ((struct table_manager_chunk *)listgetdata( listtail(tbl_mgr.lc_list)))->end + 1; -#ifdef SUNOS_5 -/* SunOS - */ -#else -#if !defined(GNU_LINUX) && !defined(SUNOS_5) +#if !defined(GNU_LINUX) /* BSD systems */ #else @@ -143,8 +134,7 @@ struct table_manager_chunk *assign_table_chunk(uint8_t proto, uint16_t instance, RT_TABLE_ID_COMPAT - RT_TABLE_ID_UNRESERVED_MIN)) start = RT_TABLE_ID_LOCAL + 1; -#endif /* !def(GNU_LINUX) && !defined(SUNOS_5) */ -#endif /* SUNOS_5 */ +#endif /* !def(GNU_LINUX) */ tmc->start = start; if (RT_TABLE_ID_UNRESERVED_MAX - size + 1 < start) { flog_err(EC_ZEBRA_TM_EXHAUSTED_IDS, |