diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2021-10-26 15:26:32 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-26 15:26:32 -0400 |
| commit | 0c124f75db6b37cd67f643935b04ee40b9ea6b52 (patch) | |
| tree | 3e8a7d13e08e955c16a99dbd29b4afdc9a91e6bd /zebra/zebra_router.c | |
| parent | d12799878586a9ea5823fc51de5432495c94fe7a (diff) | |
| parent | 30085ba550c6e20e93eecc1d78929f5e5ed1afaa (diff) | |
Merge pull request #9440 from dlqs/dplanehook2
Diffstat (limited to 'zebra/zebra_router.c')
| -rw-r--r-- | zebra/zebra_router.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c index d930f59866..7215551f8d 100644 --- a/zebra/zebra_router.c +++ b/zebra/zebra_router.c @@ -255,6 +255,10 @@ void zebra_router_terminate(void) hash_free(zrouter.ipset_entry_hash); hash_clean(zrouter.iptable_hash, zebra_pbr_iptable_free); hash_free(zrouter.iptable_hash); + +#ifdef HAVE_SCRIPTING + zebra_script_destroy(); +#endif } bool zebra_router_notify_on_ack(void) @@ -296,4 +300,8 @@ void zebra_router_init(bool asic_offload, bool notify_on_ack) zrouter.asic_offloaded = asic_offload; zrouter.notify_on_ack = notify_on_ack; + +#ifdef HAVE_SCRIPTING + zebra_script_init(); +#endif } |
