From d603c0774ebac58557d8814bdbc2ad16249c21a1 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Wed, 17 Mar 2021 18:12:26 +0100 Subject: nhrp, zebra, lib: enforce usage of zapi_neigh_ip structure zapi_nbr structure is renamed to zapi_neigh_ip. Initially used to set a neighbor ip entry for gre interfaces, this structure is used to get events from the zebra layer to nhrp layer. The ndm state has been added, as it is needed on both sides. The zebra dplane layer is slightly modified. Also, to clarify what ZEBRA_NEIGH_ADD/DEL means, a rename is done: it is called now ZEBRA_NEIGH_IP_ADD/DEL, and it signified that this zapi interface permits to set link operations by associating ip addresses to link addresses. Signed-off-by: Philippe Guibert --- lib/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/log.c') diff --git a/lib/log.c b/lib/log.c index ce0b1c9670..ca2f501686 100644 --- a/lib/log.c +++ b/lib/log.c @@ -470,8 +470,8 @@ static const struct zebra_desc_table command_types[] = { DESC_ENTRY(ZEBRA_NHRP_NEIGH_GET), DESC_ENTRY(ZEBRA_NHRP_NEIGH_REGISTER), DESC_ENTRY(ZEBRA_NHRP_NEIGH_UNREGISTER), - DESC_ENTRY(ZEBRA_NEIGH_ADD), - DESC_ENTRY(ZEBRA_NEIGH_DEL), + DESC_ENTRY(ZEBRA_NEIGH_IP_ADD), + DESC_ENTRY(ZEBRA_NEIGH_IP_DEL), DESC_ENTRY(ZEBRA_CONFIGURE_ARP)}; #undef DESC_ENTRY -- cgit v1.2.3