From: Stephen Worley Date: Thu, 28 May 2020 16:08:29 +0000 (-0400) Subject: lib: add logging for ZEBRA_NHG_ADD[DEL] X-Git-Tag: base_7.6~489^2~25 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=b36bedd2c3ff98e75383630c2a637339c7f76eb5;p=matthieu%2Ffrr.git 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 --- 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", '?'};