From 70bc8385a3b12158c75501912657ae6a8701a47d Mon Sep 17 00:00:00 2001 From: Jafar Al-Gharaibeh Date: Tue, 3 Sep 2019 14:22:38 -0500 Subject: [PATCH] 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 --- zebra/connected.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/connected.c b/zebra/connected.c index ffc991861c..6b92945c63 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;