]>
git.proxmox.com Git - mirror_frr.git/blob - nhrpd/nhrp_errors.c
2 * nhrp_errors - code for error messages that may occur in the
4 * Copyright (C) 2018 Cumulus Networks, Inc.
7 * FRR is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2, or (at your option) any
12 * FRR is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 * You should have received a copy of the GNU General Public License along
18 * with this program; see the file COPYING; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23 #include "nhrp_errors.h"
25 static struct ferr_ref ferr_nhrp_err
[] = {
27 .code
= NHRP_ERR_SWAN
,
28 .title
= "NHRP Strong Swan Error",
29 .description
= "NHRP has detected a error with the Strongswan code",
30 .suggestion
= "Ensure that StrongSwan is configured correctly. Restart StrongSwan and FRR"
33 .code
= NHRP_ERR_RESOLVER
,
34 .title
= "NHRP DNS Resolution",
35 .description
= "NHRP has detected an error in an attempt to resolve a hostname",
36 .suggestion
= "Ensure that DNS is working properly and the hostname is configured in dns. If you are still seeing this error, open an issue"
43 void nhrp_error_init(void)
47 ferr_ref_add(ferr_nhrp_err
);