]> git.puffer.fish Git - mirror/frr.git/commit
isisd: clean ipv4/6 circuit config on destroy 5509/head
authorEmanuele Di Pascale <emanuele@voltanet.io>
Mon, 9 Dec 2019 17:22:25 +0000 (18:22 +0100)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Mon, 9 Dec 2019 17:22:25 +0000 (18:22 +0100)
commitd38a3cb24a40de1bb089e35a04f49b124ab9173e
treea590d7fea48e4fbe594adf5349e163c1b7d89202
parent0dcbec72aa2b508c194ec4391b6d821ea996fb08
isisd: clean ipv4/6 circuit config on destroy

when deleting an isis interface config with 'no [ip|ipv6] router isis'
we are destroying the isis yang container for that interface, but the
actual circuit struct is kept, and so are the flgs determining whether
that circuit is configured for ipv4 and/or ipv6. This caused issues
when removing and re-adding configuration, as the area counters for
ip circuits were not correctly updated and the topology was never
populated.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
isisd/isis_nb_config.c