]> git.puffer.fish Git - mirror/frr.git/commitdiff
nhrpd: add frr-vrf to the list of implemented yang modules 7085/head
authorDonald Sharp <sharpd@nvidia.com>
Fri, 11 Sep 2020 12:51:05 +0000 (08:51 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 11 Sep 2020 12:51:05 +0000 (08:51 -0400)
PR #6376 introduced a VRF leafref in the frr-interface YANG module.
That change exposed a bug in the northbound layer that is causing
nhrpd to crash under certain circumstances. Even though nhrpd wasn't
converted to the new northbound model yet, make it implement the
frr-vrf module in order to work around this problem. This is a
temporary fix until a better solution is available.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
nhrpd/nhrp_main.c

index 9fc13761c801b832c7c15b4f946dd15762d01f1d..43aa5117c961ba5de5feaf6db764e18186668514 100644 (file)
@@ -119,6 +119,7 @@ static struct quagga_signal_t sighandlers[] = {
 static const struct frr_yang_module_info *const nhrpd_yang_modules[] = {
        &frr_filter_info,
        &frr_interface_info,
+       &frr_vrf_info,
 };
 
 FRR_DAEMON_INFO(nhrpd, NHRP, .vty_port = NHRP_VTY_PORT,