mirror of
https://github.com/sshuttle/sshuttle.git
synced 2024-11-21 23:43:18 +01:00
Add missing raise keyword for UDP not supported error
This commit is contained in:
parent
6f92bd8ccf
commit
10341f3ad6
@ -72,7 +72,7 @@ class BaseMethod(object):
|
|||||||
|
|
||||||
def send_udp(self, sock, srcip, dstip, data):
|
def send_udp(self, sock, srcip, dstip, data):
|
||||||
if srcip is not None:
|
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))
|
% (self.name, srcip))
|
||||||
sock.sendto(data, dstip)
|
sock.sendto(data, dstip)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user