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>
This commit is contained in:
Jafar Al-Gharaibeh 2019-09-03 14:22:38 -05:00
parent a3aea4ebaf
commit 70bc8385a3

View File

@ -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;