diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-07-25 13:06:46 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-07-25 13:06:46 +0300 | 
| commit | 743b16938455efd44f6e59b42d8800c3881f9889 (patch) | |
| tree | f643356a60135eda6ae820a6fd2609e6b8051597 /bgpd/bgp_fsm.c | |
| parent | bd86964db816ba1ac628f1b1f5099fd35f157ea5 (diff) | |
bgpd: Set the last_reset if we change the password also
```
donatas.net(config-router)# do show ip bgp summary failed
IPv4 Unicast Summary:
BGP router identifier 1.1.1.1, local AS number 65001 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 24 KiB of memory
Neighbor        EstdCnt DropCnt ResetTime Reason
127.0.0.1             2       2  00:02:02 Password config change (GoBGP/3.26.0)
Displayed neighbors 1
Total number of neighbors 1
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_fsm.c')
| -rw-r--r-- | bgpd/bgp_fsm.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_fsm.c b/bgpd/bgp_fsm.c index b67cf3b874..e911c2d18e 100644 --- a/bgpd/bgp_fsm.c +++ b/bgpd/bgp_fsm.c @@ -602,6 +602,7 @@ const char *const peer_down_str[] = {  	"Socket Error",  	"Admin. shutdown (RTT)",  	"Suppress Fib Turned On or Off", +	"Password config change",  };  static void bgp_graceful_restart_timer_off(struct peer_connection *connection,  | 
