]> git.puffer.fish Git - mirror/frr.git/commit
tools: fix frr-reload AF issue with ldpd 6302/head
authorEmanuele Di Pascale <emanuele@voltanet.io>
Mon, 27 Apr 2020 13:47:03 +0000 (15:47 +0200)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Mon, 27 Apr 2020 14:38:29 +0000 (16:38 +0200)
commite04ff92ed08f976861f1cd55201ae2bad6c4623a
tree3df638cba101a30256d994abc1375bf0f5ff3c1f
parentabe94d6562ba70f8b8a6997a7b0fac381e0dcfdd
tools: fix frr-reload AF issue with ldpd

when removing a whole address-family block from ldpd config
we were erroneously trying to also remove each of the interface
sub-sub-contexts that belonged to it; this would effectively
re-enable the AF we just removed. Work around this by ignoring
these sub-sub-contexts if we detect that we are already
removing the parent block.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
tools/frr-reload.py