]> git.proxmox.com Git - mirror_frr.git/blobdiff - nhrpd/nhrp_errors.c
nhrpd: NHRP_[ERR|WARN] -> EC_NHRP
[mirror_frr.git] / nhrpd / nhrp_errors.c
index c557ba8a6624137d4afda6e45cbeeb1debcae988..4c4f55be9ea3639c69f41e5fc7ee5c52acc5acab 100644 (file)
 /* clang-format off */
 static struct log_ref ferr_nhrp_err[] = {
        {
-               .code = NHRP_ERR_SWAN,
+               .code = EC_NHRP_SWAN,
                .title = "NHRP Strong Swan Error",
                .description = "NHRP has detected a error with the Strongswan code",
                .suggestion = "Ensure that StrongSwan is configured correctly.  Restart StrongSwan and FRR"
        },
        {
-               .code = NHRP_ERR_RESOLVER,
+               .code = EC_NHRP_RESOLVER,
                .title = "NHRP DNS Resolution",
                .description = "NHRP has detected an error in an attempt 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"