mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 22:10:19 +00:00
Merge pull request #3188 from opensourcerouting/bgp-snmp-fix-rename
bgpd: fix missed info->path rename in snmp
This commit is contained in:
commit
4a99c191c9
@ -869,7 +869,7 @@ static uint8_t *bgp4PathAttrTable(struct variable *v, oid name[],
|
|||||||
case BGP4PATHATTRBEST: /* 13 */
|
case BGP4PATHATTRBEST: /* 13 */
|
||||||
#define BGP4_PathAttrBest_false 1
|
#define BGP4_PathAttrBest_false 1
|
||||||
#define BGP4_PathAttrBest_true 2
|
#define BGP4_PathAttrBest_true 2
|
||||||
if (CHECK_FLAG(path->flags, BGP_INFO_SELECTED))
|
if (CHECK_FLAG(path->flags, BGP_PATH_SELECTED))
|
||||||
return SNMP_INTEGER(BGP4_PathAttrBest_true);
|
return SNMP_INTEGER(BGP4_PathAttrBest_true);
|
||||||
else
|
else
|
||||||
return SNMP_INTEGER(BGP4_PathAttrBest_false);
|
return SNMP_INTEGER(BGP4_PathAttrBest_false);
|
||||||
|
Loading…
Reference in New Issue
Block a user