mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 00:14:03 +00:00
Merge pull request #952 from lunn/eigrpd-nbr-timer-crash
eigrp: Don't dereference NULL timer in a Neighbour
This commit is contained in:
commit
c93d2f4845
@ -252,7 +252,10 @@ void show_ip_eigrp_neighbor_sub(struct vty *vty, struct eigrp_neighbor *nbr,
|
||||
|
||||
vty_out(vty, "%-3u %-17s %-21s", 0, eigrp_neigh_ip_string(nbr),
|
||||
eigrp_if_name_string(nbr->ei));
|
||||
vty_out(vty, "%-7lu", thread_timer_remain_second(nbr->t_holddown));
|
||||
if (nbr->t_holddown)
|
||||
vty_out(vty, "%-7lu", thread_timer_remain_second(nbr->t_holddown));
|
||||
else
|
||||
vty_out(vty, "- ");
|
||||
vty_out(vty, "%-8u %-6u %-5u", 0, 0, EIGRP_PACKET_RETRANS_TIME);
|
||||
vty_out(vty, "%-7lu", nbr->retrans_queue->count);
|
||||
vty_out(vty, "%u\n", nbr->recv_sequence_number);
|
||||
|
Loading…
Reference in New Issue
Block a user