diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-10-18 15:36:52 +0300 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-10-27 23:24:59 +0000 |
| commit | 51699110f3d30abdb83a1a158bace3579317df08 (patch) | |
| tree | d35a3a22f31af44ad5c710fe8d32ba7c6c410016 /zebra/zebra_vty.c | |
| parent | 428700753963a129a4f8ffa242195cd1e2a6cd48 (diff) | |
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>
(cherry picked from commit 1fe1f8d87c4ab46ae18536a2418c05ae5fd95185)
Diffstat (limited to 'zebra/zebra_vty.c')
| -rw-r--r-- | zebra/zebra_vty.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c index 9a68d5ae9d..bd1faa789b 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -3822,6 +3822,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"); |
