mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-02 21:58:04 +00:00
isisd: fix Coverity warning
no need to check cicuit->area, as all code paths leading there had already dereferenced it. Fixes CID 1496314 Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
This commit is contained in:
parent
37b6b408a0
commit
5e69d308a1
@ -721,7 +721,7 @@ void isis_circuit_down(struct isis_circuit *circuit)
|
||||
#endif /* ifndef FABRICD */
|
||||
|
||||
/* log adjacency changes if configured to do so */
|
||||
if (circuit->area && circuit->area->log_adj_changes) {
|
||||
if (circuit->area->log_adj_changes) {
|
||||
struct isis_adjacency *adj = NULL;
|
||||
if (circuit->circ_type == CIRCUIT_T_P2P) {
|
||||
adj = circuit->u.p2p.neighbor;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user