Re: [Openvpn-devel] [PATCH v2] dco: fix source IP selection

2025-02-10 Thread Antonio Quartulli
Hi, Thanks a lot for bringing this problem to our attention. On 01/02/2025 08:54, Gert Doering wrote: @@ -616,10 +621,15 @@ dco_multi_add_new_peer(struct multi_context *m, struct multi_instance *mi) vpn_addr6 = &c->c2.push_ifconfig_ipv6_local; } +struct link_socket *ls =

Re: [Openvpn-devel] [PATCH v2] dco: fix source IP selection

2025-02-01 Thread Gert Doering
Hi, On Sat, Feb 01, 2025 at 02:24:37PM +0800, Qingfang Deng wrote: > #endif > +if (sock->bind_local && sock->info.lsa->bind_local) { > +localaddr = sock->info.lsa->bind_local->ai_addr; > +} > + This is still not correct style - the opening "{" needs to go on its own line. Also s