mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 14:34:22 +00:00
isisd: fix adding a circuit to the wrong area
When creating a new area, we're adding all circuits in the same VRF to this area. We should only add circuits configured with the same tag. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
161b567451
commit
6eadfc2d41
@ -402,7 +402,7 @@ struct isis_area *isis_area_create(const char *area_tag, const char *vrf_name)
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
circuit = ifp->info;
|
circuit = ifp->info;
|
||||||
if (circuit)
|
if (circuit && strmatch(circuit->tag, area->area_tag))
|
||||||
isis_area_add_circuit(area, circuit);
|
isis_area_add_circuit(area, circuit);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user