summaryrefslogtreecommitdiff
path: root/pceplib/test
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-05-05 19:26:19 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-05-05 19:31:22 +0300
commit7bced643b977e48bc36791614c949ddf19bc97a1 (patch)
tree0148ac46b87388d552f4499987d8299604446a20 /pceplib/test
parentde11c1bc24d4c729ed715fd5fddc0478d7d6d466 (diff)
ospfd: fix redistribution config when vrf doesn't exist
Currently ospfd relies on vrf bitmaps in zclient to check that the redistribution is configured. This doesn't work when the VRF for OSPF instance doesn't exist yet, because vrf bitmaps ignore VRF_UNKNOWN id. Because of this, the following problems occur when the VRF doesn't exist: - repeated "redistribute smth" command is processed as a first-time instead of an update - "no redistribute smth" doesn't work at all This commit fixes both issues by relying on internal redistribution config instead of zclient vrf bitmaps. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'pceplib/test')
0 files changed, 0 insertions, 0 deletions