diff --git a/sshuttle/methods/__init__.py b/sshuttle/methods/__init__.py index f8a77a9..b1fdeab 100644 --- a/sshuttle/methods/__init__.py +++ b/sshuttle/methods/__init__.py @@ -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)