From: Donald Sharp Date: Mon, 20 Aug 2018 12:08:28 +0000 (-0400) Subject: lib: Convert debug to error situation X-Git-Tag: frr-6.1-dev~31^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=03548ae8180f3e73468ce577368a9239e50ec848;p=mirror%2Ffrr.git lib: Convert debug to error situation This debug should be moved to an error situation since it's a developmental escape that needs to be fixed. Signed-off-by: Donald Sharp --- diff --git a/lib/if.c b/lib/if.c index 11c4f1b5dc..943436f356 100644 --- a/lib/if.c +++ b/lib/if.c @@ -1141,7 +1141,7 @@ const char *if_link_type_str(enum zebra_link_type llt) llts(ZEBRA_LLT_IEEE802154, "IEEE 802.15.4"); llts(ZEBRA_LLT_IEEE802154_PHY, "IEEE 802.15.4 Phy"); default: - zlog_warn("Unknown value %d", llt); + flog_err(LIB_ERR_DEVELOPMENT, "Unknown value %d", llt); return "Unknown type!"; #undef llts }