]>
Commit | Line | Data |
---|---|---|
acddc0ed | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
518e377f | 2 | /* |
247dcce2 | 3 | * RIP-specific error messages. |
518e377f DS |
4 | * Copyright (C) 2018 Cumulus Networks, Inc. |
5 | * Donald Sharp | |
518e377f | 6 | */ |
247dcce2 | 7 | |
518e377f DS |
8 | #include <zebra.h> |
9 | ||
247dcce2 | 10 | #include "lib/ferr.h" |
518e377f DS |
11 | #include "rip_errors.h" |
12 | ||
85cd2f9f | 13 | static struct log_ref ferr_rip_err[] = { |
1c50c1c0 QY |
14 | {.code = EC_RIP_PACKET, |
15 | .title = "RIP Packet Error", | |
16 | .description = "RIP has detected a packet encode/decode issue", | |
17 | .suggestion = "Gather log files from both sides and open a Issue"}, | |
518e377f DS |
18 | { |
19 | .code = END_FERR, | |
1c50c1c0 | 20 | }}; |
518e377f DS |
21 | |
22 | void rip_error_init(void) | |
23 | { | |
85cd2f9f | 24 | log_ref_add(ferr_rip_err); |
518e377f | 25 | } |