]> git.proxmox.com Git - mirror_frr.git/blob - nhrpd/nhrp_errors.c
Merge pull request #12248 from pguibert6WIND/bgpasdot
[mirror_frr.git] / nhrpd / nhrp_errors.c
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * NHRP-specific error messages.
4 * Copyright (C) 2018 Cumulus Networks, Inc.
5 * Donald Sharp
6 */
7
8 #include <zebra.h>
9
10 #include "lib/ferr.h"
11 #include "nhrp_errors.h"
12
13 /* clang-format off */
14 static struct log_ref ferr_nhrp_err[] = {
15 {
16 .code = EC_NHRP_SWAN,
17 .title = "NHRP Strong Swan Error",
18 .description = "NHRP has detected a error with the Strongswan code",
19 .suggestion = "Ensure that StrongSwan is configured correctly. Restart StrongSwan and FRR"
20 },
21 {
22 .code = END_FERR,
23 }
24 };
25 /* clang-format on */
26
27 void nhrp_error_init(void)
28 {
29 log_ref_add(ferr_nhrp_err);
30 }