summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-10-18 14:36:52 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-10-18 14:36:52 +0200
commit1fe1f8d87c4ab46ae18536a2418c05ae5fd95185 (patch)
treee7c9f4a84075ce17bdf13330b0bcf1fa904d5b6d /zebra
parentMerge pull request #17154 from donaldsharp/connected_coverity (diff)
downloadfrr-1fe1f8d87c4ab46ae18536a2418c05ae5fd95185.tar.xz
frr-1fe1f8d87c4ab46ae18536a2418c05ae5fd95185.zip
lib, zebra: Keep `zebra on-rib-process script` in frr.conf
After the change: ``` $ grep on-rib-process /etc/frr/frr.conf zebra on-rib-process script script4 $ systemctl restart frr $ vtysh -c 'show run' | grep on-rib-process zebra on-rib-process script script4 ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zebra_vty.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c
index 3bf20ff42..303146c29 100644
--- a/zebra/zebra_vty.c
+++ b/zebra/zebra_vty.c
@@ -3802,6 +3802,10 @@ static int config_write_protocol(struct vty *vty)
if (!zebra_nhg_recursive_use_backups())
vty_out(vty, "no zebra nexthop resolve-via-backup\n");
+#ifdef HAVE_SCRIPTING
+ frrscript_names_config_write(vty);
+#endif
+
if (rnh_get_hide_backups())
vty_out(vty, "ip nht hide-backup-events\n");