mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-01-08 15:09:37 +01:00
If listenip_v6 we should declare ipv6 required
This commit is contained in:
parent
b207d1d0d6
commit
7362ba9f52
@ -534,7 +534,8 @@ def main(listenip_v6, listenip_v4,
|
|||||||
else:
|
else:
|
||||||
listenip_v6 = None
|
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.udp = avail.udp
|
||||||
required.dns = len(nslist) > 0
|
required.dns = len(nslist) > 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user