summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
authorKaren Schoener <karen@voltanet.io>2020-12-07 18:01:01 -0500
committerKaren Schoener <karen@volta.io>2020-12-07 18:22:36 -0500
commit581e797e02d91cb1c5a7acfd9b2f8c8feb1cde56 (patch)
treed1ec08584f36686aa19986093d1d06b91687f102 /lib/log.c
parent6a684109aea0e8b314340a00d9c353df0b3daab4 (diff)
zebra: Adding zapi client close notification
When zebra detects a client close, send a zapi client close notification. Signed-off-by: Karen Schoener <karen@voltanet.io>
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/log.c b/lib/log.c
index 7b37ba7f27..03ed23a04b 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -456,7 +456,8 @@ static const struct zebra_desc_table command_types[] = {
DESC_ENTRY(ZEBRA_NHG_ADD),
DESC_ENTRY(ZEBRA_NHG_DEL),
DESC_ENTRY(ZEBRA_NHG_NOTIFY_OWNER),
- DESC_ENTRY(ZEBRA_ROUTE_NOTIFY_REQUEST)};
+ DESC_ENTRY(ZEBRA_ROUTE_NOTIFY_REQUEST),
+ DESC_ENTRY(ZEBRA_CLIENT_CLOSE_NOTIFY)};
#undef DESC_ENTRY
static const struct zebra_desc_table unknown = {0, "unknown", '?'};