diff options
author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2019-09-03 21:22:38 +0200 |
---|---|---|
committer | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2019-09-03 21:22:38 +0200 |
commit | 70bc8385a3b12158c75501912657ae6a8701a47d (patch) | |
tree | 0bf4c7df417577e7f4148e16f627f4f7b59d0093 | |
parent | Merge pull request #4907 from donaldsharp/ospf_write_q (diff) | |
download | frr-70bc8385a3b12158c75501912657ae6a8701a47d.tar.xz frr-70bc8385a3b12158c75501912657ae6a8701a47d.zip |
zebra: use GNU_LINUX instead of LINUX
Everywhere else in the code we use GNU_LINUX, that is the symbol we actualy define in the configuration. Don't rely on compiler's built-in symbols.
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
-rw-r--r-- | zebra/connected.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/connected.c b/zebra/connected.c index ffc991861..6b92945c6 100644 --- a/zebra/connected.c +++ b/zebra/connected.c @@ -235,7 +235,7 @@ void connected_up(struct interface *ifp, struct connected *ifc) return; break; case AFI_IP6: -#ifndef LINUX +#ifndef GNU_LINUX /* XXX: It is already done by rib_bogus_ipv6 within rib_add */ if (IN6_IS_ADDR_UNSPECIFIED(&p.u.prefix6)) return; |