summaryrefslogtreecommitdiff
path: root/lib/lib_errors.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 /lib/lib_errors.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 'lib/lib_errors.c')
-rw-r--r--lib/lib_errors.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/lib_errors.c b/lib/lib_errors.c
index e0559f332d..6e5088142a 100644
--- a/lib/lib_errors.c
+++ b/lib/lib_errors.c
@@ -357,6 +357,12 @@ static struct log_ref ferr_lib_err[] = {
.suggestion = "Gather log data and open an Issue.",
},
{
+ .code = EC_LIB_RESOLVER,
+ .title = "DNS Resolution",
+ .description = "An error was detected while attempting to resolve a hostname",
+ .suggestion = "Ensure that DNS is working properly and the hostname is configured in dns. If you are still seeing this error, open an issue"
+ },
+ {
.code = END_FERR,
}
};