]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: add logging for ZEBRA_NHG_ADD[DEL]
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 28 May 2020 16:08:29 +0000 (12:08 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 28 Sep 2020 16:40:59 +0000 (12:40 -0400)
Add logging info for the new zapi ZEBRA_NHG_ADD[DEL]
message types. With this patch, they are logged properly
when debugs are turned on.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
lib/log.c

index 40541850192f1f4964e56c4d42a4f6fd9cca6688..91d325efb2f392ab3af5f68eea8da90d7d47fa4c 100644 (file)
--- a/lib/log.c
+++ b/lib/log.c
@@ -452,7 +452,9 @@ static const struct zebra_desc_table command_types[] = {
        DESC_ENTRY(ZEBRA_OPAQUE_MESSAGE),
        DESC_ENTRY(ZEBRA_OPAQUE_REGISTER),
        DESC_ENTRY(ZEBRA_OPAQUE_UNREGISTER),
-       DESC_ENTRY(ZEBRA_NEIGH_DISCOVER)};
+       DESC_ENTRY(ZEBRA_NEIGH_DISCOVER),
+       DESC_ENTRY(ZEBRA_NHG_ADD),
+       DESC_ENTRY(ZEBRA_NHG_DEL)};
 #undef DESC_ENTRY
 
 static const struct zebra_desc_table unknown = {0, "unknown", '?'};