diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 21:14:28 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 21:14:28 +0200 |
commit | 993c8024ff91d50332afaa611af4bc65a7b17afa (patch) | |
tree | fc752e9b10c8b7356fdc66234baa4ec39402d73a | |
parent | pimd: PIM_[ERR|WARN] -> EC_PIM (diff) | |
download | frr-993c8024ff91d50332afaa611af4bc65a7b17afa.tar.xz frr-993c8024ff91d50332afaa611af4bc65a7b17afa.zip |
ripd: RIP_[ERR|WARN] -> EC_RIP
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
-rw-r--r-- | ripd/rip_errors.c | 2 | ||||
-rw-r--r-- | ripd/rip_errors.h | 2 | ||||
-rw-r--r-- | ripd/ripd.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ripd/rip_errors.c b/ripd/rip_errors.c index 363b1b7fb..9c089a054 100644 --- a/ripd/rip_errors.c +++ b/ripd/rip_errors.c @@ -25,7 +25,7 @@ static struct log_ref ferr_rip_err[] = { { - .code = RIP_ERR_PACKET, + .code = EC_RIP_PACKET, .title = "RIP Packet Error", .description = "RIP has detected a packet encode/decode issue", .suggestion = "Gather log files from both sides and open a Issue" diff --git a/ripd/rip_errors.h b/ripd/rip_errors.h index 6b5f5c016..feadf430e 100644 --- a/ripd/rip_errors.h +++ b/ripd/rip_errors.h @@ -24,7 +24,7 @@ #include "lib/ferr.h" enum rip_log_refs { - RIP_ERR_PACKET = RIP_FERR_START, + EC_RIP_PACKET = RIP_FERR_START, RIP_ERR_CONFIG, }; diff --git a/ripd/ripd.c b/ripd/ripd.c index 560e649a8..8d3a0798f 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -1056,7 +1056,7 @@ static void rip_auth_md5_set(struct stream *s, struct rip_interface *ri, /* Check packet length. */ if (len < (RIP_HEADER_SIZE + RIP_RTE_SIZE)) { - flog_err(RIP_ERR_PACKET, + flog_err(EC_RIP_PACKET, "rip_auth_md5_set(): packet length %ld is less than minimum length.", len); return; |