summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@openbsd.org>2017-11-21 12:50:46 -0200
committerGitHub <noreply@github.com>2017-11-21 12:50:46 -0200
commit88aa65f8496eed90a986d28428ff56182e3d5adc (patch)
tree1c537127ae4befd63c6eca03d71a2f41275af52b /zebra/zebra_rib.c
parent02b5275b1712008a50182fc52b9f224f3cbca18c (diff)
parentd6792f9d7d7b51426a385f962688e96f641db351 (diff)
Merge pull request #1470 from donaldsharp/zebra_multicast
Zebra multicast
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r--zebra/zebra_rib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index b5c2bc6dae..5e0baf807d 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -1060,7 +1060,7 @@ int rib_uninstall_kernel(struct route_node *rn, struct route_entry *re)
if (info->safi != SAFI_UNICAST) {
for (ALL_NEXTHOPS(re->nexthop, nexthop))
- SET_FLAG(nexthop->flags, NEXTHOP_FLAG_FIB);
+ UNSET_FLAG(nexthop->flags, NEXTHOP_FLAG_FIB);
return ret;
}