summaryrefslogtreecommitdiffstats
path: root/lib/resolver.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-12-16 15:18:41 +0100
committerDonald Sharp <sharpd@nvidia.com>2023-12-16 15:18:41 +0100
commitf38687b8f5884b2912d57a4f3b893cce28560551 (patch)
tree2188a80ed19a760ba60b91bc9470462c44263043 /lib/resolver.h
parentMerge pull request #15015 from donaldsharp/test_ospf_suppress_fa_cleanup (diff)
downloadfrr-f38687b8f5884b2912d57a4f3b893cce28560551.tar.xz
frr-f38687b8f5884b2912d57a4f3b893cce28560551.zip
lib, bgpd, nhrpd: Cleanup memory in lib/resolver on shutdown
This memory was not being cleaned up on shutdown. Fix this. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/resolver.h')
-rw-r--r--lib/resolver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/resolver.h b/lib/resolver.h
index 87e8ecdc4..882f960a4 100644
--- a/lib/resolver.h
+++ b/lib/resolver.h
@@ -23,6 +23,7 @@ struct resolver_query {
};
void resolver_init(struct event_loop *tm);
+void resolver_terminate(void);
void resolver_resolve(struct resolver_query *query, int af, vrf_id_t vrf_id,
const char *hostname,
void (*cb)(struct resolver_query *, const char *, int,