]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Move afi indepedent code outside of checks for it 7834/head
authorDonald Sharp <sharpd@nvidia.com>
Fri, 8 Jan 2021 00:24:13 +0000 (19:24 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 8 Jan 2021 00:24:13 +0000 (19:24 -0500)
commit257b7b6efcca1f46bbd00fb72d83ce25e0520054
tree81bb4839905e004fa660274749559cac8f1844f3
parent696ad9ef0e8f1e9978fd50024fdb438c7a4a0957
bgpd: Move afi indepedent code outside of checks for it

In bgp_zebra_announce we do work to apply the table map.
This is the same for both v4 and v6 but we have the code
duplicated in both v4 and v6 if statements.  Move outside
to reduce the duplications.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_zebra.c