]>
Commit | Line | Data |
---|---|---|
1 | // SPDX-License-Identifier: GPL-2.0-or-later | |
2 | /* | |
3 | * RIP-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 "rip_errors.h" | |
12 | ||
13 | static struct log_ref ferr_rip_err[] = { | |
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"}, | |
18 | { | |
19 | .code = END_FERR, | |
20 | }}; | |
21 | ||
22 | void rip_error_init(void) | |
23 | { | |
24 | log_ref_add(ferr_rip_err); | |
25 | } |