Skip to content

Commit

Permalink
Base decision to switch on selection or default of protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Oct 4, 2021
1 parent 6a7caa9 commit f9d80cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mptcp_mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int socket(int domain, int type, int protocol)
{
_mptcpmode_load();

if (((PF_INET == domain) || (PF_INET6 == domain))
if (((IPPROTO_TCP == protocol) || (0 == protocol))
&& (SOCK_STREAM == type)) {

#ifdef DEBUG
Expand Down

0 comments on commit f9d80cd

Please sign in to comment.