diff options
author | Brian May <brian@linuxpenguins.xyz> | 2022-04-24 16:09:55 +1000 |
---|---|---|
committer | Brian May <brian@linuxpenguins.xyz> | 2022-04-24 16:09:55 +1000 |
commit | 10341f3ad6eb3ff62a2aab5519aa156f74cbfb1d (patch) | |
tree | 0a4b220e297a7e47630e26516dd76985c00281fa /sshuttle/methods | |
parent | 6f92bd8ccff16f73f5c3d63a6de96d0f4d95a4b9 (diff) |
Add missing raise keyword for UDP not supported error
Diffstat (limited to 'sshuttle/methods')
-rw-r--r-- | sshuttle/methods/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |