]> git.proxmox.com Git - mirror_frr.git/blobdiff - nhrpd/resolver.c
zebra: reduce rib workqueue retry timeout
[mirror_frr.git] / nhrpd / resolver.c
index 415e7523de047b67ddf3c65d94f9a6e5f3512b26..830f0e1c84f8d62f168ff8b3d36073430334420f 100644 (file)
@@ -7,12 +7,19 @@
  * (at your option) any later version.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <ares.h>
 #include <ares_version.h>
 
 #include "vector.h"
 #include "thread.h"
+#include "lib_errors.h"
+
 #include "nhrpd.h"
+#include "nhrp_errors.h"
 
 struct resolver_state {
        ares_channel channel;
@@ -191,7 +198,8 @@ void resolver_resolve(struct resolver_query *query, int af,
                                       union sockunion *))
 {
        if (query->callback != NULL) {
-               zlog_err(
+               flog_err(
+                       EC_NHRP_RESOLVER,
                        "Trying to resolve '%s', but previous query was not finished yet",
                        hostname);
                return;