mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 03:33:43 +00:00
bgpd: Remove redundant whitespace before printing the reason of the failed peer
Before:
```
Neighbor EstdCnt DropCnt ResetTime Reason
127.0.0.1 0 0 never Waiting for peer OPEN (n/a)
```
After:
```
Neighbor EstdCnt DropCnt ResetTime Reason
127.0.0.1 0 0 never Waiting for peer OPEN (n/a)
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit b5bd626a82
)
This commit is contained in:
parent
348063bbde
commit
dc98037015
@ -11661,10 +11661,9 @@ static void bgp_show_peer_reset(struct vty * vty, struct peer *peer,
|
|||||||
BGP_NOTIFY_CEASE_HARD_RESET)
|
BGP_NOTIFY_CEASE_HARD_RESET)
|
||||||
: "");
|
: "");
|
||||||
} else {
|
} else {
|
||||||
vty_out(vty, " %s (%s)\n",
|
vty_out(vty, " %s (%s)\n",
|
||||||
peer_down_str[(int)peer->last_reset],
|
peer_down_str[(int)peer->last_reset],
|
||||||
peer->soft_version ? peer->soft_version
|
peer->soft_version ? peer->soft_version : "n/a");
|
||||||
: "n/a");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user