mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-07-11 03:55:34 +02:00
Add missing raise keyword for UDP not supported error
This commit is contained in:
@ -72,7 +72,7 @@ class BaseMethod(object):
|
||||
|
||||
def send_udp(self, sock, srcip, dstip, data):
|
||||
if srcip is not None:
|
||||
Fatal("Method %s send_udp does not support setting srcip to %r"
|
||||
raise Fatal("Method %s send_udp does not support setting srcip to %r"
|
||||
% (self.name, srcip))
|
||||
sock.sendto(data, dstip)
|
||||
|
||||
|
Reference in New Issue
Block a user