]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: Convert debug to error situation 2855/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 20 Aug 2018 12:08:28 +0000 (08:08 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 23 Aug 2018 12:36:07 +0000 (08:36 -0400)
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 <sharpd@cumulusnetworks.com>
lib/if.c

index 11c4f1b5dc09ae29dd21dd47f73203b8d8c91665..943436f356439e4101e8c22674bdcaf5fed80564 100644 (file)
--- 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
        }