summaryrefslogtreecommitdiffstats
path: root/pbrd/pbr_main.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-09-10 03:31:59 +0200
committerRenato Westphal <renato@opensourcerouting.org>2020-09-10 03:45:28 +0200
commita74b47f5abaa54ea31f8caa2f737446339545a73 (patch)
tree154892e69fdad91a55fe9c90e790b46aad912cdd /pbrd/pbr_main.c
parent*: Update version string (diff)
downloadfrr-a74b47f5abaa54ea31f8caa2f737446339545a73.tar.xz
frr-a74b47f5abaa54ea31f8caa2f737446339545a73.zip
pbrd: 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 pbrd to crash under certain circumstances. Even though pbrd 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: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'pbrd/pbr_main.c')
-rw-r--r--pbrd/pbr_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pbrd/pbr_main.c b/pbrd/pbr_main.c
index 9a9edd79c..0711c66d4 100644
--- a/pbrd/pbr_main.c
+++ b/pbrd/pbr_main.c
@@ -117,6 +117,7 @@ struct quagga_signal_t pbr_signals[] = {
static const struct frr_yang_module_info *const pbrd_yang_modules[] = {
&frr_filter_info,
&frr_interface_info,
+ &frr_vrf_info,
};
FRR_DAEMON_INFO(pbrd, PBR, .vty_port = PBR_VTY_PORT,