diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-10-18 15:36:52 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-10-28 09:57:44 +0200 | 
| commit | fe6e498d1c63400bd99bcba89669ecc4f5f2e456 (patch) | |
| tree | 81ada147f70a29c0edcebe54ca93387a21eae06f /zebra | |
| parent | fbc85e8ecad002888d0686c9e4706067c4215d22 (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>
Diffstat (limited to 'zebra')
| -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 d36c2f81c7..a7d983142f 100644 --- a/zebra/zebra_vty.c +++ b/zebra/zebra_vty.c @@ -4017,6 +4017,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");  | 
