Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e9bac69
)
IPv6 local-address for P2P ethernet interfaces
54/8054/2
author
Pavel Kotucek
<pkotucek@cisco.com>
Tue, 15 Aug 2017 11:52:22 +0000
(13:52 +0200)
committer
Neale Ranns
<nranns@cisco.com>
Tue, 15 Aug 2017 13:57:41 +0000
(13:57 +0000)
Change-Id: I87d3cb5754843f38593e92f60a39af2e5241d1cf
Signed-off-by: Pavel Kotucek <pkotucek@cisco.com>
src/vnet/ip/ip6_neighbor.c
patch
|
blob
|
history
diff --git
a/src/vnet/ip/ip6_neighbor.c
b/src/vnet/ip/ip6_neighbor.c
index
6a9139a
..
62cf23a
100644
(file)
--- a/
src/vnet/ip/ip6_neighbor.c
+++ b/
src/vnet/ip/ip6_neighbor.c
@@
-3413,7
+3413,8
@@
enable_ip6_interface (vlib_main_t * vm, u32 sw_if_index)
(&link_local_address, eth_if0->address);
sw_if0 = vnet_get_sw_interface (vnm, sw_if_index);
- if (sw_if0->type == VNET_SW_INTERFACE_TYPE_SUB)
+ if (sw_if0->type == VNET_SW_INTERFACE_TYPE_SUB ||
+ sw_if0->type == VNET_SW_INTERFACE_TYPE_P2P)
{
/* make up an interface id */
md5_context_t m;