summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2020-05-28 12:08:29 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2020-09-28 12:40:59 -0400
commitb36bedd2c3ff98e75383630c2a637339c7f76eb5 (patch)
tree9874dad4aeefbdcd502eabae1ea6d8eb3882f1a5 /lib/log.c
parent0de1db8f3bd8d25be9dbebc3a090f85d60b41b14 (diff)
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 <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c4
1 files changed, 3 insertions, 1 deletions
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", '?'};