Skip to content

Commit eed917f

Browse files
committed
Don't declare udp feature without recvmsg
1 parent 74f2d9c commit eed917f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sshuttle/methods/tproxy.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,10 @@ class Method(BaseMethod):
105105
def get_supported_features(self):
106106
result = super(Method, self).get_supported_features()
107107
result.ipv6 = True
108-
result.udp = True
108+
if recvmsg is None:
109+
result.udp = False
110+
else:
111+
result.udp = True
109112
return result
110113

111114
def get_tcp_dstip(self, sock):

0 commit comments

Comments
 (0)