mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 04:18:56 +00:00
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:
parent
a3aea4ebaf
commit
70bc8385a3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user