mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-22 07:53:43 +01:00
Declare DNS support as feature
This commit is contained in:
parent
eed917f062
commit
6b4e36c528
@ -39,6 +39,7 @@ class BaseMethod(object):
|
||||
result = Features()
|
||||
result.ipv6 = False
|
||||
result.udp = False
|
||||
result.dns = True
|
||||
return result
|
||||
|
||||
def get_tcp_dstip(self, sock):
|
||||
|
@ -107,8 +107,10 @@ class Method(BaseMethod):
|
||||
result.ipv6 = True
|
||||
if recvmsg is None:
|
||||
result.udp = False
|
||||
result.dns = False
|
||||
else:
|
||||
result.udp = True
|
||||
result.dns = True
|
||||
return result
|
||||
|
||||
def get_tcp_dstip(self, sock):
|
||||
|
Loading…
Reference in New Issue
Block a user