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/bgp_updgrp_packet.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/bgp_updgrp_packet.c')
-rw-r--r-- | bgpd/bgp_updgrp_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c index 56a82c801..c3ca3e652 100644 --- a/bgpd/bgp_updgrp_packet.c +++ b/bgpd/bgp_updgrp_packet.c @@ -687,7 +687,7 @@ struct bpacket *subgroup_update_packet(struct update_subgroup *subgrp) struct bgp_adj_out *adj; struct bgp_advertise *adv; struct bgp_node *rn = NULL; - struct bgp_info *binfo = NULL; + struct bgp_path_info *binfo = NULL; bgp_size_t total_attr_len = 0; unsigned long attrlen_pos = 0; size_t mpattrlen_pos = 0; |