]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: use GNU_LINUX instead of LINUX 4924/head
authorJafar Al-Gharaibeh <jafar@atcorp.com>
Tue, 3 Sep 2019 19:22:38 +0000 (14:22 -0500)
committerJafar Al-Gharaibeh <jafar@atcorp.com>
Tue, 3 Sep 2019 19:22:38 +0000 (14:22 -0500)
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>
zebra/connected.c

index ffc991861c127ce980c30f472a0856589e9612eb..6b92945c6314123c1e472292104614f4425e83bc 100644 (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;