From 10341f3ad6eb3ff62a2aab5519aa156f74cbfb1d Mon Sep 17 00:00:00 2001 From: Brian May Date: Sun, 24 Apr 2022 16:09:55 +1000 Subject: [PATCH] Add missing raise keyword for UDP not supported error --- sshuttle/methods/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)