Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgpd: fix blank line in running-config with bmp listener cmd (backport #17278) #17282

Merged
merged 1 commit into from
Oct 29, 2024

Commits on Oct 29, 2024

  1. bgpd: fix blank line in running-config with bmp listener cmd

    An extra blank line is added in show running-config with BMP:
    
    > ubuntu2204hwe(config)# router bgp 65500
    > ubuntu2204hwe(config-router)# bmp targets tgt
    > ubuntu2204hwe(config-bgp-bmp)# bmp monitor ipv4 unicast pre-policy
    > ubuntu2204hwe(config-bgp-bmp)# bmp listener 192.0.2.100 port 44
    > ubuntu2204hwe(config-bgp-bmp)# do show running-config
    >
    > router bgp 65500
    > [..]
    >  bmp targets tgt
    >   bmp monitor ipv4 unicast pre-policy
    >                                       <-- blank line
    >   bmp listener 192.0.2.100 port 44
    >  exit
    
    Remove the blank line.
    
    Fixes: ed18356 ("bgpd/bmp: BMP implementation")
    Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
    (cherry picked from commit 9a33ee1)
    pguibert6WIND authored and mergify[bot] committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    a6cda19 View commit details
    Browse the repository at this point in the history