Commit dcc52fe5 authored by Julien Muchembled's avatar Julien Muchembled

Fix address advertisement in passive mode

"passive mode" means that re6stnet is configured to not create OpenVPN tunnels.
parent 373d35f1
...@@ -266,7 +266,7 @@ def main(): ...@@ -266,7 +266,7 @@ def main():
remote_gateway, config.disable_proto, config.neighbour) remote_gateway, config.disable_proto, config.neighbour)
config.babel_args += tunnel_manager.new_iface_list config.babel_args += tunnel_manager.new_iface_list
else: else:
tunnel_manager = tunnel.BaseTunnelManager(cache, cert) tunnel_manager = tunnel.BaseTunnelManager(cache, cert, address)
cleanup.append(tunnel_manager.sock.close) cleanup.append(tunnel_manager.sock.close)
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment