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:
5d3e47c
)
udp: fix ipv6 listen port registration
93/28293/3
author
Florin Coras
<fcoras@cisco.com>
Wed, 15 Jan 2020 02:32:07 +0000
(
02:32
+0000)
committer
Andrew Yourtchenko
<ayourtch@gmail.com>
Wed, 12 Aug 2020 15:59:46 +0000
(15:59 +0000)
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I7f2233eb9bf3d81a697f76ba985083cf1040e2e9
(cherry picked from commit
ff2fad1701d8274d602cc46f3f2323154d96dc9f
)
src/vnet/udp/udp.c
patch
|
blob
|
history
diff --git
a/src/vnet/udp/udp.c
b/src/vnet/udp/udp.c
index
fbd9e98
..
5998327
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;
}