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:
de7fcac
)
udp: fix ipv6 listen port registration
34/24334/3
author
Florin Coras
<fcoras@cisco.com>
Wed, 15 Jan 2020 02:32:07 +0000
(
02:32
+0000)
committer
Dave Barach
<openvpp@barachs.net>
Thu, 16 Jan 2020 15:17:58 +0000
(15:17 +0000)
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I7f2233eb9bf3d81a697f76ba985083cf1040e2e9
src/vnet/udp/udp.c
patch
|
blob
|
history
diff --git
a/src/vnet/udp/udp.c
b/src/vnet/udp/udp.c
index
c2d6830
..
7fceab0
100644
(file)
--- a/
src/vnet/udp/udp.c
+++ b/
src/vnet/udp/udp.c
@@
-113,7
+113,7
@@
udp_session_bind (u32 session_index, transport_endpoint_t * lcl)
node_index = lcl->is_ip4 ? udp4_input_node.index : udp6_input_node.index;
udp_register_dst_port (vm, clib_net_to_host_u16 (lcl->port), node_index,
-
1 /* is_ipv4 */
);
+
lcl->is_ip4
);
return listener->c_c_index;
}