Skip to content

Commit

Permalink
bgpd: fixes bmp stats send-experimental configuration
Browse files Browse the repository at this point in the history
Unconfiguring the send-experimental stats in BMP has no effect
on the current behavior.

Fixes this by swapping the configuration boolean.

Fixes: 7ba991c ("bgpd: add 'bmp stat send-experimental' command")

Signed-off-by: Philippe Guibert <[email protected]>
  • Loading branch information
pguibert6WIND committed May 14, 2024
1 parent 281c891 commit cd001c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_bmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2496,7 +2496,7 @@ DEFPY(bmp_stats_send_experimental,
{
VTY_DECLVAR_CONTEXT_SUB(bmp_targets, bt);

bt->stats_send_experimental = !!no;
bt->stats_send_experimental = !no;

return CMD_SUCCESS;
}
Expand Down

0 comments on commit cd001c5

Please sign in to comment.