diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-12-12 16:31:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-12 16:31:52 +0200 |
| commit | f17cd4587d025df33db6f57a6ac9bf33c65eba88 (patch) | |
| tree | 049e9a6e4c8b4514ef8c7d437b3ab3a79fa43cb7 /zebra/zebra_vrf.c | |
| parent | 54625f5f94636fdaec4e6ae76cd8688dbb9c56ce (diff) | |
| parent | 3d1f0c467b3d8cd9c7cb0fd3ea81165748ee8af0 (diff) | |
Merge pull request #14985 from donaldsharp/zebra_delete_memory_problems
Zebra delete memory problems
Diffstat (limited to 'zebra/zebra_vrf.c')
| -rw-r--r-- | zebra/zebra_vrf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_vrf.c b/zebra/zebra_vrf.c index 2adae61f54..92982f25c8 100644 --- a/zebra/zebra_vrf.c +++ b/zebra/zebra_vrf.c @@ -195,7 +195,7 @@ static int zebra_vrf_disable(struct vrf *vrf) /* Cleanup Vxlan, MPLS and PW tables. */ zebra_vxlan_cleanup_tables(zvrf); zebra_mpls_cleanup_tables(zvrf); - zebra_pw_exit(zvrf); + zebra_pw_exit_vrf(zvrf); /* Remove link-local IPv4 addresses created for BGP unnumbered peering. */ @@ -376,7 +376,7 @@ struct zebra_vrf *zebra_vrf_alloc(struct vrf *vrf) zebra_vxlan_init_tables(zvrf); zebra_mpls_init_tables(zvrf); - zebra_pw_init(zvrf); + zebra_pw_init_vrf(zvrf); zvrf->table_id = rt_table_main_id; /* by default table ID is default one */ |
