Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,11 @@ static int git_tcp_connect_sock(char *host, int flags)
else if (flags & CONNECT_IPV6)
hints.ai_family = AF_INET6;
hints.ai_socktype = SOCK_STREAM;
hints.ai_protocol = IPPROTO_TCP;

#ifdef IPPROTO_MPTCP
hints.ai_protocol = IPPROTO_MPTCP;
#else
hints.ai_protocol = IPPROTO_TCP;
#endif
if (flags & CONNECT_VERBOSE)
fprintf(stderr, _("Looking up %s ... "), host);

Expand Down
Loading