mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-09 15:03:07 -04:00
Added prefer_ipv6 option to TCPServerInterface
This commit is contained in:
parent
9373819234
commit
ebec63487f
2 changed files with 7 additions and 6 deletions
|
@ -640,6 +640,7 @@ class Reticulum:
|
|||
listen_ip = c["listen_ip"] if "listen_ip" in c else None
|
||||
listen_port = int(c["listen_port"]) if "listen_port" in c else None
|
||||
i2p_tunneled = c.as_bool("i2p_tunneled") if "i2p_tunneled" in c else False
|
||||
prefer_ipv6 = c.as_bool("prefer_ipv6") if "prefer_ipv6" in c else False
|
||||
|
||||
if port != None:
|
||||
listen_port = port
|
||||
|
@ -650,7 +651,8 @@ class Reticulum:
|
|||
device,
|
||||
listen_ip,
|
||||
listen_port,
|
||||
i2p_tunneled
|
||||
i2p_tunneled,
|
||||
prefer_ipv6,
|
||||
)
|
||||
|
||||
if "outgoing" in c and c.as_bool("outgoing") == False:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue