diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-03-14 11:01:56 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-03-14 11:01:56 +0100 |
commit | 59d6b4d6ab92e3df0888b37c90e6c6b177fb3b65 (patch) | |
tree | ab78b4447a8cd7a7629fe3c12e9d2c8c21e5d1a3 /bgpd/bgp_updgrp_adv.c | |
parent | Merge pull request #12978 from donaldsharp/multicast_address (diff) | |
download | frr-59d6b4d6ab92e3df0888b37c90e6c6b177fb3b65.tar.xz frr-59d6b4d6ab92e3df0888b37c90e6c6b177fb3b65.zip |
bgpd: Rename bgp_afi_node_lookup() to bgp_safi_node_lookup()
afi not used in this function, reduce a bit.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_updgrp_adv.c')
-rw-r--r-- | bgpd/bgp_updgrp_adv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_updgrp_adv.c b/bgpd/bgp_updgrp_adv.c index aa3121257..d8e0e7875 100644 --- a/bgpd/bgp_updgrp_adv.c +++ b/bgpd/bgp_updgrp_adv.c @@ -918,8 +918,8 @@ void subgroup_default_originate(struct update_subgroup *subgrp, int withdraw) memset(&p, 0, sizeof(p)); p.family = afi2family(afi); p.prefixlen = 0; - dest = bgp_afi_node_lookup(bgp->rib[afi][safi_rib], afi, safi_rib, &p, - NULL); + dest = bgp_safi_node_lookup(bgp->rib[afi][safi_rib], safi_rib, &p, + NULL); if (withdraw) { /* Withdraw the default route advertised using default |