diff options
author | Florin Coras <fcoras@cisco.com> | 2023-03-14 09:59:02 -0700 |
---|---|---|
committer | Dave Barach <vpp@barachs.net> | 2023-03-16 16:57:00 +0000 |
commit | e541d6f0edd39a093bcbee91282969647c1e6ebf (patch) | |
tree | fedc3d26cffb3f6306020a50f98084d9a9986bd9 /src/vnet/tcp | |
parent | 890eced9171388a62ad9dbd810627cad51e53208 (diff) |
session: support active opens with same source port
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I2b426e9e988c32d261f36367087f358d8cc25e2f
Diffstat (limited to 'src/vnet/tcp')
-rw-r--r-- | src/vnet/tcp/tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/tcp/tcp.c b/src/vnet/tcp/tcp.c index 6e0c1474dd5..5c612a73970 100644 --- a/src/vnet/tcp/tcp.c +++ b/src/vnet/tcp/tcp.c @@ -808,8 +808,8 @@ tcp_session_open (transport_endpoint_cfg_t * rmt) || (!rmt->is_ip4 && vec_len (tcp_cfg.ip6_src_addrs))) rv = tcp_alloc_custom_local_endpoint (&lcl_addr, &lcl_port, rmt); else - rv = transport_alloc_local_endpoint (TRANSPORT_PROTO_TCP, - rmt, &lcl_addr, &lcl_port); + rv = transport_alloc_local_endpoint (TRANSPORT_PROTO_TCP, rmt, &lcl_addr, + &lcl_port); if (rv) return rv; |