diff options
| author | Andrew Lunn <andrew@lunn.ch> | 2017-08-09 13:46:52 -0500 |
|---|---|---|
| committer | Andrew Lunn <andrew@lunn.ch> | 2017-08-10 13:25:37 -0500 |
| commit | 2085179b22a861da6af7b816a0857279c2706ba2 (patch) | |
| tree | 1bec130c44ebfa68bacad917819c47f952f6e7c2 /lib/command_graph.c | |
| parent | 043abefeb24c34a51a37345d0b928bbf38f1e632 (diff) | |
eigrp: Don't dereference NULL timer in a Neighbour
Current, a eigrp_neighbor only has a t_holddown timer when in state
EIGRP_NEIGHBOR_PENDING and EIGRP_NEIGHBOR_UP. In state
EIGRP_NEIGHBOR_DOWN it could be a NULL pointer. Don't dereference the
timer when dumping the neighbour table without first checking it
exists. If it does not exist, display - instead of the remaining time.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Diffstat (limited to 'lib/command_graph.c')
0 files changed, 0 insertions, 0 deletions
