summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-12-31 03:49:34 +0000
committerNeale Ranns <nranns@cisco.com>2019-12-31 03:49:56 +0000
commitfca3c6a3aa43c71250b33d0a6755ea1ae4ae2bd1 (patch)
treea9c2550c8ab0b88142034e816b8d659e74d3b301 /src/vnet
parentfea813ae3de5343a2bc91306fddf6dbd1832f93d (diff)
ip-neighbor: set link-type ARP on incomplete adjacencies
Type: fix Change-Id: I05d74da311d6a86ec4eb3df50d53ecaa9c622f50 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/ip-neighbor/ip_neighbor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip-neighbor/ip_neighbor.c b/src/vnet/ip-neighbor/ip_neighbor.c
index ceec3732c77..d8c386dd527 100644
--- a/src/vnet/ip-neighbor/ip_neighbor.c
+++ b/src/vnet/ip-neighbor/ip_neighbor.c
@@ -339,7 +339,7 @@ ip_neighbor_mk_incomplete (adj_index_t ai)
ethernet_build_rewrite (vnet_get_main (),
adj->
rewrite_header.sw_if_index,
- adj_get_link_type (ai),
+ VNET_LINK_ARP,
VNET_REWRITE_FOR_SW_INTERFACE_ADDRESS_BROADCAST));
}