summaryrefslogtreecommitdiff
path: root/nhrpd/nhrp_main.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-05-23 12:23:02 +0200
committerDavid Lamparter <equinox@diac24.net>2019-07-03 17:15:34 +0200
commitfe9e7b71cf0930db1f8d6872f415466689511885 (patch)
tree42bb1f347ea8f9fbf93874f977dc57b7135307e1 /nhrpd/nhrp_main.c
parent611349b99f64a9e39e9889a46ca3dde60f68484e (diff)
lib: split off c-ares code from nhrpd
This is useful in other places too, e.g. for BMP outbound connections. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'nhrpd/nhrp_main.c')
-rw-r--r--nhrpd/nhrp_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c
index d7c485f0a0..969638cd77 100644
--- a/nhrpd/nhrp_main.c
+++ b/nhrpd/nhrp_main.c
@@ -141,7 +141,7 @@ int main(int argc, char **argv)
nhrp_error_init();
vrf_init(NULL, NULL, NULL, NULL, NULL);
nhrp_interface_init();
- resolver_init();
+ resolver_init(master);
/* Run with elevated capabilities, as for all netlink activity
* we need privileges anyway. */