Commit eed917f0 authored by Brian May's avatar Brian May

Don't declare udp feature without recvmsg

parent 74f2d9ca
...@@ -105,7 +105,10 @@ class Method(BaseMethod): ...@@ -105,7 +105,10 @@ class Method(BaseMethod):
def get_supported_features(self): def get_supported_features(self):
result = super(Method, self).get_supported_features() result = super(Method, self).get_supported_features()
result.ipv6 = True result.ipv6 = True
result.udp = True if recvmsg is None:
result.udp = False
else:
result.udp = True
return result return result
def get_tcp_dstip(self, sock): def get_tcp_dstip(self, sock):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment