summaryrefslogtreecommitdiffstats
path: root/zebra/rt_ioctl.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2010-02-05 06:05:39 +0100
committerDavid Lamparter <equinox@diac24.net>2010-02-05 06:05:39 +0100
commitbe8c228fad013d8488623dc6db46e28d4dfb72c2 (patch)
tree5fe0e8943cafeb3b663a0895e757f33b66c7851e /zebra/rt_ioctl.c
parente473267ee96f48514b879f5dcaba2db64f0de9d1 (diff)
parent647e8e064d8e5316fc89587714a056b1240fa298 (diff)
downloadquagga-be8c228fad013d8488623dc6db46e28d4dfb72c2.tar.bz2
quagga-be8c228fad013d8488623dc6db46e28d4dfb72c2.tar.xz
Merge branch 'current' into dn42
Diffstat (limited to 'zebra/rt_ioctl.c')
-rw-r--r--zebra/rt_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rt_ioctl.c b/zebra/rt_ioctl.c
index a5d588c7..390e6a1d 100644
--- a/zebra/rt_ioctl.c
+++ b/zebra/rt_ioctl.c
@@ -183,7 +183,7 @@ kernel_ioctl_ipv4 (u_long cmd, struct prefix *p, struct rib *rib, int family)
#endif /* HAVE_STRUCT_SOCKADDR_IN_SIN_LEN */
sin_dest.sin_addr = p->u.prefix4;
- if (CHECK_FLAG (rib->flags, ZEBRA_FLAG_BLACKHOLE))
+ if (RIB_ZF_BLACKHOLE_FLAGS (rib->zflags))
{
SET_FLAG (rtentry.rt_flags, RTF_REJECT);