Skip to content

Commit 8301c1a

Browse files
committed
MPTCP socket initialisation fix.
1 parent 5b5f05d commit 8301c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/netperfmeter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1295,7 +1295,7 @@ void passiveMode(const uint16_t localPort)
12951295
gMPTCPSocket = createAndBindSocket(AF_UNSPEC, SOCK_STREAM, IPPROTO_MPTCP, localPort - 1,
12961296
gLocalDataAddresses,
12971297
(const sockaddr_union*)&gLocalDataAddressArray,
1298-
false, gBindV6Only);
1298+
true, gBindV6Only);
12991299
if(gMPTCPSocket < 0) {
13001300
LOG_DEBUG
13011301
stdlog << format("NOTE: Failed to create and bind MPTCP socket on port %d: %s!",

0 commit comments

Comments
 (0)