summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2021-03-17 18:12:26 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2021-04-13 08:58:49 +0200
commitd603c0774ebac58557d8814bdbc2ad16249c21a1 (patch)
treed8f12549091b1b2a96d14aac67d677644c8ed677 /lib/log.c
parent850b2b70ac49643416c664d4326db530865f91c0 (diff)
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 <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c4
1 files changed, 2 insertions, 2 deletions
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