summaryrefslogtreecommitdiffstats
path: root/bgpd/bgpd.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-04-13 10:21:35 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2015-05-05 15:07:45 +0200
commitc9c06d0d8cbc766374c43328e91b7a87f93e9c62 (patch)
tree7079c5e07ab0941949373d901bbd672066b9e4c6 /bgpd/bgpd.c
parente66cbd10d52a79fd61acab9d615683eebdbf1df5 (diff)
downloadquagga-c9c06d0d8cbc766374c43328e91b7a87f93e9c62.tar.bz2
quagga-c9c06d0d8cbc766374c43328e91b7a87f93e9c62.tar.xz
lib: straighten out ORF prefix list support
BGP ORF prefix lists are in a separate namespace; this was previously hooked up with a special-purpose AFI value. This is a little kludgy for extension, hence this splits it off. Signed-off-by: David Lamparter <equinox@opensourcerouting.org> Acked-by: Paul Jakma <paul@jakma.org>
Diffstat (limited to 'bgpd/bgpd.c')
-rw-r--r--bgpd/bgpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index d72708e4..4de854e4 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -595,7 +595,7 @@ peer_af_flag_reset (struct peer *peer, afi_t afi, safi_t safi)
/* Clear ORF info */
peer->orf_plist[afi][safi] = NULL;
sprintf (orf_name, "%s.%d.%d", peer->host, afi, safi);
- prefix_bgp_orf_remove_all (orf_name);
+ prefix_bgp_orf_remove_all (afi, orf_name);
/* Set default neighbor send-community. */
if (! bgp_option_check (BGP_OPT_CONFIG_CISCO))