]> git.puffer.fish Git - mirror/frr.git/commitdiff
ripd: RIP_[ERR|WARN] -> EC_RIP
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 13 Sep 2018 19:14:28 +0000 (19:14 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 13 Sep 2018 19:14:28 +0000 (19:14 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
ripd/rip_errors.c
ripd/rip_errors.h
ripd/ripd.c

index 363b1b7fb57eb1ed3c37e4050a3273cd44728404..9c089a0540d02ea646dfbfaec4ae1c5392cec167 100644 (file)
@@ -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"
index 6b5f5c0169326c1eb83d022dc78d412415da306d..feadf430efa4ced9a641b9b9e838ea2bd3e2d059 100644 (file)
@@ -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,
 };
 
index 560e649a89244caccad49b3d5490abdbc3e1512f..8d3a0798f507b73240d89cd6244361bcbe4dbc0a 100644 (file)
@@ -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;