Fix use of alternate addresses
When a peer advertised several addresses, a node trying to create a tunnel to it never tried any other address than the first one. Before, we wrongly assumed OpenVPN would try all addresses before aborting (--ping-exit). New code reexecutes OpenVPN until all addresses are tried and update the peer db to reorder addresses if the first one failed.
Showing
Please register or sign in to comment