]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: identify passive connections in JSON summary
authorVincent Bernat <vincent@bernat.ch>
Tue, 17 Nov 2020 19:29:31 +0000 (20:29 +0100)
committerVincent Bernat <vincent@bernat.ch>
Tue, 17 Nov 2020 19:29:31 +0000 (20:29 +0100)
commit266ae3aa532d26d4e4ed2d1d1ca5887bb2ac882e
treeb2e2e3260aaf3db208f18366a9ae23daedf37c1c
parentb83bb9aa629a0361bc76fa90beb6f6e7d2b57332
bgpd: identify passive connections in JSON summary

When using non JSON output, passive connections are marked with:

    BGP state = Active (passive)

However, such an information is not available in JSON output. This
commit adds that. It also adds "Active (NSF passive)" flag, like the
regular output.

Signed-off-by: Vincent Bernat <vincent@bernat.ch>
bgpd/bgp_vty.c