From b36bedd2c3ff98e75383630c2a637339c7f76eb5 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Thu, 28 May 2020 12:08:29 -0400 Subject: [PATCH] lib: add logging for ZEBRA_NHG_ADD[DEL] 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 --- lib/log.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/log.c b/lib/log.c index 4054185019..91d325efb2 100644 --- 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", '?'}; -- 2.39.5