From 05657ec2b78911e4b7bae3692fa27cd81945ad73 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Fri, 13 Dec 2019 18:09:11 +0100 Subject: 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 --- lib/log.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/log.c') 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 -- cgit v1.2.3