]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/rtread_sysctl.c
isisd: implement the 'lsp-too-large' notification
[mirror_frr.git] / zebra / rtread_sysctl.c
index 5f6b62df2373a305e8025468476fecf551d14fb5..f88586a6ea02aba1af1ea106ff7aecc28701c98a 100644 (file)
@@ -48,7 +48,7 @@ void route_read(struct zebra_ns *zns)
 
        /* Get buffer size. */
        if (sysctl(mib, MIBSIZ, NULL, &bufsiz, NULL, 0) < 0) {
-               flog_warn(ZEBRA_ERR_SYSCTL_FAILED, "sysctl fail: %s",
+               flog_warn(EC_ZEBRA_SYSCTL_FAILED, "sysctl fail: %s",
                          safe_strerror(errno));
                return;
        }
@@ -58,7 +58,7 @@ void route_read(struct zebra_ns *zns)
 
        /* Read routing table information by calling sysctl(). */
        if (sysctl(mib, MIBSIZ, buf, &bufsiz, NULL, 0) < 0) {
-               flog_warn(ZEBRA_ERR_SYSCTL_FAILED, "sysctl() fail by %s",
+               flog_warn(EC_ZEBRA_SYSCTL_FAILED, "sysctl() fail by %s",
                          safe_strerror(errno));
                XFREE(MTYPE_TMP, ref);
                return;