summaryrefslogtreecommitdiff
path: root/lib/frr_pthread.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-04-29 16:31:15 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2021-04-29 16:50:29 +0300
commit0d6d0208a55c786513f472ad690bae1788e173fa (patch)
tree3ea04e6425faeb0a51e8cd531c99ef4450974161 /lib/frr_pthread.c
parentd8c3daca19add1c3cedea05e9a30fb33f2b4e9ad (diff)
bgpd: fix crash when as/type mismatches in config
When we're trying to create the config for already existing router and the AS number or instance type mismatches, we're returning the inconsistency error and don't set the NB entry. Any subsequent command that configures this router will crash because every command relies on the existence of the NB entry. Let's store the entry even when there's a mismatch to prevent the crash. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/frr_pthread.c')
0 files changed, 0 insertions, 0 deletions