diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2021-11-08 12:28:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-08 12:28:10 -0500 |
| commit | b7bd8fce85fd0e38f64b74c48f083e35dbd65fc8 (patch) | |
| tree | 0547b24e8940e19b950180068cf9bb1e6e59089f /zebra/zebra_vrf.c | |
| parent | 240f79f89f02f9be2a58a9a6034519c5572f6e80 (diff) | |
| parent | 903c6fa24ecb284e5313d217f15901b904c7b801 (diff) | |
Merge pull request #9966 from idryzhov/release-daemon-table-chunks
zebra: don't register same hook multiple times
Diffstat (limited to 'zebra/zebra_vrf.c')
| -rw-r--r-- | zebra/zebra_vrf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_vrf.c b/zebra/zebra_vrf.c index d051ed67a0..66d6d4b4f2 100644 --- a/zebra/zebra_vrf.c +++ b/zebra/zebra_vrf.c @@ -705,6 +705,8 @@ void zebra_vrf_init(void) vrf_init(zebra_vrf_new, zebra_vrf_enable, zebra_vrf_disable, zebra_vrf_delete, zebra_vrf_update); + hook_register(zserv_client_close, release_daemon_table_chunks); + vrf_cmd_init(vrf_config_write); if (vrf_is_backend_netns() && ns_have_netns()) { |
