summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
authorJakub Urbańczyk <xthaid@gmail.com>2020-08-06 13:07:01 +0200
committerJakub Urbańczyk <xthaid@gmail.com>2020-08-12 23:19:58 +0200
commitd68e74b41cc3575986a5269fe04ebe01c71ffc0e (patch)
tree61cf864e877ef57b786c31e6ced497b510f2b270 /lib/log.c
parentc2e6684110731f4a84be085f42c615390749f115 (diff)
lib, zebra: add support for sending ARP requests
We can make the Linux kernel send an ARP/NDP request by adding a neighbour with the 'NUD_INCOMPLETE' state and the 'NTF_USE' flag. This commit adds new dataplane operation as well as new zapi message to allow other daemons send ARP/NDP requests. Signed-off-by: Jakub Urbańczyk <xthaid@gmail.com>
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 202d6d858f..4054185019 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -451,7 +451,8 @@ static const struct zebra_desc_table command_types[] = {
DESC_ENTRY(ZEBRA_CLIENT_CAPABILITIES),
DESC_ENTRY(ZEBRA_OPAQUE_MESSAGE),
DESC_ENTRY(ZEBRA_OPAQUE_REGISTER),
- DESC_ENTRY(ZEBRA_OPAQUE_UNREGISTER)};
+ DESC_ENTRY(ZEBRA_OPAQUE_UNREGISTER),
+ DESC_ENTRY(ZEBRA_NEIGH_DISCOVER)};
#undef DESC_ENTRY
static const struct zebra_desc_table unknown = {0, "unknown", '?'};