From 7362ba9f5256103a276cd5301caa13ffe1cc12a7 Mon Sep 17 00:00:00 2001 From: Brian May Date: Tue, 15 Dec 2015 13:31:03 +1100 Subject: [PATCH] If listenip_v6 we should declare ipv6 required --- sshuttle/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sshuttle/client.py b/sshuttle/client.py index 5ccd2b1..7a7b6d7 100644 --- a/sshuttle/client.py +++ b/sshuttle/client.py @@ -534,7 +534,8 @@ def main(listenip_v6, listenip_v4, else: listenip_v6 = None - required.ipv6 = len(subnets_v6) > 0 or len(nslist_v6) > 0 + required.ipv6 = len(subnets_v6) > 0 or len(nslist_v6) > 0 \ + or listenip_v6 is not None required.udp = avail.udp required.dns = len(nslist) > 0