mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
BGP: Display neighbor port on show protocol
This commit is contained in:
parent
7bb06b34a1
commit
a9c19b923c
@ -2487,6 +2487,9 @@ bgp_show_proto_info(struct proto *P)
|
||||
else
|
||||
cli_msg(-1006, " Neighbor address: %I%J", p->remote_ip, p->cf->iface);
|
||||
|
||||
if ((p->conn == &p->outgoing_conn) && (p->cf->remote_port != BGP_PORT))
|
||||
cli_msg(-1006, " Neighbor port: %u", p->cf->remote_port);
|
||||
|
||||
cli_msg(-1006, " Neighbor AS: %u", p->remote_as);
|
||||
cli_msg(-1006, " Local AS: %u", p->cf->local_as);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user