diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-08-25 13:53:30 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-08-25 14:35:28 +0300 |
| commit | 036f482fced6143a5493a8733f58364869d98576 (patch) | |
| tree | e38a6d1fcb0e7d9d07ee04a208ad79ba97c921e1 /bgpd/bgp_nexthop.c | |
| parent | 511211bf56159caf67280e26cf12d5f3ae31c2b9 (diff) | |
bgpd: Drop bnc_str() function
Reuse %pFX -> prefix2str()
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_nexthop.c')
| -rw-r--r-- | bgpd/bgp_nexthop.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/bgpd/bgp_nexthop.c b/bgpd/bgp_nexthop.c index d42f2e669d..971b1817c8 100644 --- a/bgpd/bgp_nexthop.c +++ b/bgpd/bgp_nexthop.c @@ -64,11 +64,6 @@ int bgp_nexthop_cache_compare(const struct bgp_nexthop_cache *a, return prefix_cmp(&a->prefix, &b->prefix); } -const char *bnc_str(struct bgp_nexthop_cache *bnc, char *buf, int size) -{ - return prefix2str(&bnc->prefix, buf, size); -} - void bnc_nexthop_free(struct bgp_nexthop_cache *bnc) { nexthops_free(bnc->nexthop); |
