diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-10-02 22:41:30 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-10-09 20:14:25 +0200 |
commit | 4b7e60662595e43aaf41046746fcaa97d17abb5d (patch) | |
tree | 0d991048b7b8e4d1a773141711f75173fee14059 /bgpd/rfapi/vnc_zebra.c | |
parent | bgpd: Convert BGP_INFO_XXX to BGP_PATH_XXX (diff) | |
download | frr-4b7e60662595e43aaf41046746fcaa97d17abb5d.tar.xz frr-4b7e60662595e43aaf41046746fcaa97d17abb5d.zip |
bgpd: Convert `struct bgp_info` to `struct bgp_path_info`
Do a straight conversion of `struct bgp_info` to `struct bgp_path_info`.
This commit will setup the rename of variables as well.
This is being done because `struct bgp_info` is not descriptive
of what this data actually is. It is path information for routes
that we keep to build the actual routes nexthops plus some extra
information.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/rfapi/vnc_zebra.c')
-rw-r--r-- | bgpd/rfapi/vnc_zebra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/rfapi/vnc_zebra.c b/bgpd/rfapi/vnc_zebra.c index fdd200ac3..a57f908f6 100644 --- a/bgpd/rfapi/vnc_zebra.c +++ b/bgpd/rfapi/vnc_zebra.c @@ -316,7 +316,7 @@ static void vnc_redistribute_withdraw(struct bgp *bgp, afi_t afi, uint8_t type) for (rn = bgp_table_top(table); rn; rn = bgp_route_next(rn)) { - struct bgp_info *ri; + struct bgp_path_info *ri; for (ri = rn->info; ri; ri = ri->next) { if (ri->type |