summaryrefslogtreecommitdiffstats
path: root/lib/resolver.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-04-30 21:33:11 +0200
committerDavid Lamparter <equinox@diac24.net>2021-02-01 17:18:51 +0100
commitb2fa8c0fa30eaa72943c07786312923614ef355a (patch)
treeb73ed193a3c2151cc9d614ce45da58b96bc3a80f /lib/resolver.c
parentlib: "xref" identifier infrastructure (diff)
downloadfrr-b2fa8c0fa30eaa72943c07786312923614ef355a.tar.xz
frr-b2fa8c0fa30eaa72943c07786312923614ef355a.zip
lib/xref: put setup calls in libraries
Our "true" libraries (i.e. not modules) don't invoke neither FRR_DAEMON_INFO nor FRR_MODULE_SETUP, hence XREF_SETUP isn't invoked either. Invoke it directly to get things working. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/resolver.c')
-rw-r--r--lib/resolver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/resolver.c b/lib/resolver.c
index e5caadb2d..c01284e29 100644
--- a/lib/resolver.c
+++ b/lib/resolver.c
@@ -19,6 +19,9 @@
#include "lib_errors.h"
#include "resolver.h"
#include "command.h"
+#include "xref.h"
+
+XREF_SETUP()
struct resolver_state {
ares_channel channel;