]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Abstract distance retrieving/setting from info pointer
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 30 Jul 2018 14:29:28 +0000 (10:29 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 22 Sep 2018 18:59:23 +0000 (14:59 -0400)
commitca2e160d7dca2621260ddf03e2e07e4c8c4495af
tree65c7beab1848aff6e76334be1596b2425f2d1d3d
parentb1e62edd5ed63256db05af56dfc1394eea4e7b3a
bgpd: Abstract distance retrieving/setting from info pointer

The bgp_distance data is stored as a void pointer in `struct bgp_node`.
Abstract retrieval of this data and setting of this data
into functions so that in the future we can move around
what is stored in bgp_node.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_route.c
bgpd/bgp_table.h