]> git.proxmox.com Git - mirror_frr.git/blobdiff - eigrpd/eigrp_hello.c
ospfd: Convert ospf_routemap.c to use error card subsystem
[mirror_frr.git] / eigrpd / eigrp_hello.c
index 2e55d57c3154984698350c1b3afe5c7d3e257407..d438db28d66bb597c63a18a6e9e4d3338fc962f9 100644 (file)
@@ -54,6 +54,7 @@
 #include "eigrpd/eigrp_vty.h"
 #include "eigrpd/eigrp_dump.h"
 #include "eigrpd/eigrp_macros.h"
+#include "eigrpd/eigrp_errors.h"
 
 /* Packet Type String. */
 static const struct message eigrp_general_tlv_type_str[] = {
@@ -420,8 +421,9 @@ void eigrp_sw_version_initialize(void)
        ret = sscanf(ver_string, "%" SCNu32 ".%" SCNu32, &FRR_MAJOR,
                     &FRR_MINOR);
        if (ret != 2)
-               zlog_err("Did not Properly parse %s, please fix VERSION string",
-                        VERSION);
+               flog_err(EIGRP_ERR_PACKET,
+                         "Did not Properly parse %s, please fix VERSION string",
+                         VERSION);
 }
 
 /**