summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-12-13 18:09:11 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2021-04-09 18:29:58 +0200
commit05657ec2b78911e4b7bae3692fa27cd81945ad73 (patch)
tree49c6ae5fbc886b79cbbd0a4fbfa8c63659d870c0 /lib/log.c
parentb3b7510464952d0f2f024a31c5d4aede0fcabd75 (diff)
nhrp, lib, zebra: add/del neighbor entry possible from nhrp
a zebra api is extended to offer ability to add or remove neighbor entry from daemon. Also this extension makes possible to add neigh entry, not only between IPs and macs, but also between IPs and NBMA IPs. This API supports configuring ipv6/ipv4 entries with ipv4/ipv6 lladdr. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.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 6e8df99512..97cf9b6cdb 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -469,7 +469,9 @@ static const struct zebra_desc_table command_types[] = {
DESC_ENTRY(ZEBRA_NHRP_NEIGH_REMOVED),
DESC_ENTRY(ZEBRA_NHRP_NEIGH_GET),
DESC_ENTRY(ZEBRA_NHRP_NEIGH_REGISTER),
- DESC_ENTRY(ZEBRA_NHRP_NEIGH_UNREGISTER)};
+ DESC_ENTRY(ZEBRA_NHRP_NEIGH_UNREGISTER),
+ DESC_ENTRY(ZEBRA_NEIGH_ADD),
+ DESC_ENTRY(ZEBRA_NEIGH_DEL)};
#undef DESC_ENTRY