From 1b741a01c6cef35ccaeabcf59c867cc17354669f Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 11 Sep 2020 08:51:05 -0400 Subject: [PATCH] nhrpd: add frr-vrf to the list of implemented yang modules 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 --- nhrpd/nhrp_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c index 9fc13761c8..43aa5117c9 100644 --- a/nhrpd/nhrp_main.c +++ b/nhrpd/nhrp_main.c @@ -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, -- 2.39.5