tcpdrop: explicitly choose TCP as the transport protocol
MFC after: 1 week Sponsored by: Netflix, Inc.
This commit is contained in:
parent
31537ea583
commit
8ea363c8c6
@ -296,6 +296,7 @@ tcpdropbyname(const char *lhost, const char *lport, const char *fhost,
|
||||
*/
|
||||
.ai_family = AF_UNSPEC,
|
||||
.ai_socktype = SOCK_STREAM,
|
||||
.ai_protocol = IPPROTO_TCP,
|
||||
};
|
||||
struct addrinfo *ail, *local, *aif, *foreign;
|
||||
int error;
|
||||
|
Loading…
Reference in New Issue
Block a user