]> git.proxmox.com Git - mirror_frr.git/blob - eigrpd/eigrp_errors.c
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / eigrpd / eigrp_errors.c
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * EIGRP-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 "eigrp_errors.h"
12
13 /* clang-format off */
14 static struct log_ref ferr_eigrp_err[] = {
15 {
16 .code = EC_EIGRP_PACKET,
17 .title = "EIGRP Packet Error",
18 .description = "EIGRP has a packet that does not correctly decode or encode",
19 .suggestion = "Gather log files from both sides of the neighbor relationship and open an issue"
20 },
21 {
22 .code = EC_EIGRP_CONFIG,
23 .title = "EIGRP Configuration Error",
24 .description = "EIGRP has detected a configuration error",
25 .suggestion = "Correct the configuration issue, if it still persists open an Issue"
26 },
27 {
28 .code = END_FERR,
29 }
30 };
31 /* clang-format on */
32
33 void eigrp_error_init(void)
34 {
35 log_ref_add(ferr_eigrp_err);
36 }