]> git.proxmox.com Git - mirror_frr.git/commitdiff
Merge pull request #5810 from donaldsharp/fix_yang_routemap
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Fri, 14 Feb 2020 11:41:03 +0000 (13:41 +0200)
committerGitHub <noreply@github.com>
Fri, 14 Feb 2020 11:41:03 +0000 (13:41 +0200)
Fix yang routemap

pimd/pim_main.c
sharpd/sharp_main.c

index f0ca367258d4ab5840b8bf6e9316136bb5b721f1..93b561ba0f39c2c5b8957d9b8451553f6226fe76 100644 (file)
@@ -37,6 +37,7 @@
 #include "plist.h"
 #include "vrf.h"
 #include "libfrr.h"
+#include "routemap.h"
 
 #include "pimd.h"
 #include "pim_instance.h"
@@ -73,6 +74,7 @@ struct zebra_privs_t pimd_privs = {
 
 static const struct frr_yang_module_info *const pimd_yang_modules[] = {
        &frr_interface_info,
+       &frr_route_map_info,
 };
 
 FRR_DAEMON_INFO(pimd, PIM, .vty_port = PIMD_VTY_PORT,
index a00106d686bff0bda98fe3cd99262437bc0140fb..5133523f018accee8415d218fbbb050b5d759de4 100644 (file)
@@ -112,6 +112,8 @@ struct quagga_signal_t sharp_signals[] = {
 #define SHARP_VTY_PORT 2614
 
 static const struct frr_yang_module_info *const sharpd_yang_modules[] = {
+       &frr_interface_info,
+       &frr_route_map_info,
 };
 
 FRR_DAEMON_INFO(sharpd, SHARP, .vty_port = SHARP_VTY_PORT,