Skip to content

Commit

Permalink
Merge pull request #3188 from opensourcerouting/bgp-snmp-fix-rename
Browse files Browse the repository at this point in the history
bgpd: fix missed info->path rename in snmp
  • Loading branch information
qlyoung authored Oct 16, 2018
2 parents f3a1b29 + a9a0989 commit 4a99c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_snmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ static uint8_t *bgp4PathAttrTable(struct variable *v, oid name[],
case BGP4PATHATTRBEST: /* 13 */
#define BGP4_PathAttrBest_false 1
#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);
else
return SNMP_INTEGER(BGP4_PathAttrBest_false);
Expand Down

0 comments on commit 4a99c19

Please sign in to comment.