mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 22:50:14 +00:00
ospf6d: Give time left in hello timer for show ipv6 ospf6 int
When running `show ipv6 ospf6 interface` the hello timer period is shown, but there is no indication on how much time is left on the timer. Add a clue: sharpd@eva ~/frr5 (master)> vtysh -c "show ipv6 ospf6 int" enp39s0 is up, type BROADCAST Interface ID: 2 Internet Address: inet : 192.168.119.224/24 inet6: 2603:6080:602:509e:9a14:998:b154:9e9/64 Instance ID 0, Interface MTU 1500 (autodetect: 1500) MTU mismatch detection: enabled Area ID 0.0.0.0, Cost 1000 State DR, Transmit Delay 1 sec, Priority 1 Timer intervals configured: Hello 10(2.652), Dead 40, Retransmit 5 DR: 192.168.122.1 BDR: 0.0.0.0 Number of I/F scoped LSAs is 1 0 Pending LSAs for LSUpdate in Time 00:00:00 [thread off] 0 Pending LSAs for LSAck in Time 00:00:00 [thread off] Authentication Trailer is disabled Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
950e7e6660
commit
6290bec97e
@ -1130,9 +1130,9 @@ static int ospf6_interface_show(struct vty *vty, struct interface *ifp,
|
||||
ospf6_interface_state_str[oi->state], oi->transdelay,
|
||||
oi->priority);
|
||||
vty_out(vty, " Timer intervals configured:\n");
|
||||
vty_out(vty, " Hello %d, Dead %d, Retransmit %d\n",
|
||||
oi->hello_interval, oi->dead_interval,
|
||||
oi->rxmt_interval);
|
||||
vty_out(vty, " Hello %d(%pTHd), Dead %d, Retransmit %d\n",
|
||||
oi->hello_interval, oi->thread_send_hello,
|
||||
oi->dead_interval, oi->rxmt_interval);
|
||||
}
|
||||
|
||||
inet_ntop(AF_INET, &oi->drouter, drouter, sizeof(drouter));
|
||||
|
Loading…
Reference in New Issue
Block a user