]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/table_manager.c
zebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA
[mirror_frr.git] / zebra / table_manager.c
index 43b5c7d59e6c91cc073b7e89b38bd5983bd952bf..05cf37f946de5e39ec0681a27cdbb1f35264a8d2 100644 (file)
@@ -147,7 +147,7 @@ struct table_manager_chunk *assign_table_chunk(uint8_t proto, uint16_t instance,
 #endif /* SUNOS_5 */
        tmc->start = start;
        if (RT_TABLE_ID_UNRESERVED_MAX - size  + 1 < start) {
-               flog_err(ZEBRA_ERR_TM_EXHAUSTED_IDS,
+               flog_err(EC_ZEBRA_TM_EXHAUSTED_IDS,
                          "Reached max table id. Start/Size %u/%u", start,
                          size);
                XFREE(MTYPE_TM_CHUNK, tmc);
@@ -186,7 +186,7 @@ int release_table_chunk(uint8_t proto, uint16_t instance, uint32_t start,
                if (tmc->end != end)
                        continue;
                if (tmc->proto != proto || tmc->instance != instance) {
-                       flog_err(ZEBRA_ERR_TM_DAEMON_MISMATCH,
+                       flog_err(EC_ZEBRA_TM_DAEMON_MISMATCH,
                                  "%s: Daemon mismatch!!", __func__);
                        continue;
                }
@@ -196,7 +196,7 @@ int release_table_chunk(uint8_t proto, uint16_t instance, uint32_t start,
                break;
        }
        if (ret != 0)
-               flog_err(ZEBRA_ERR_TM_UNRELEASED_CHUNK,
+               flog_err(EC_ZEBRA_TM_UNRELEASED_CHUNK,
                          "%s: Table chunk not released!!", __func__);
 
        return ret;