]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Reconfiguring netns for vrf is not a failure 11916/head
authorXiao Liang <shaw.leon@gmail.com>
Wed, 7 Sep 2022 09:14:02 +0000 (17:14 +0800)
committerXiao Liang <shaw.leon@gmail.com>
Wed, 7 Sep 2022 09:52:09 +0000 (17:52 +0800)
commitd61e157a4703dacaaa6ff8f02430f9b3911c5f00
tree3f44abe7ffd8d48eccf49abe36435ff0aef1db4d
parent1762461ca8877a7ef1a7b7b8d4f2974e4fd25e6e
zebra: Reconfiguring netns for vrf is not a failure

When using namespace VRF backend, and frr.conf contains:

    vrf test
      netns /run/netns/test
    exit-vrf

FRR fails to start:

    line 11: Failure to communicate[13] to zebra, line:  netns /run/netns/test

Fix this by returning CMD_WARNING rather than CMD_WARNING_CONFIG_FAILED
when the same netns path is configured.

Signed-off-by: Xiao Liang <shaw.leon@gmail.com>
zebra/zebra_vrf.c