Stared at the code, verified that it does not break anything - as for
the original commit, I have no setup with policy routing (yet) that would
actually excercise this, sending packets to "vpn server: different port"
into the tunnel.  Forcing recursive routing by pointing routes into the
tunnel does log what is expected (verb 4).

(Side note - why do we pass in "c" *and* "c->c2.buf"?  I guess the
compiler will optimize this all away, but still...)

Your patch has been applied to the master branch.

commit db241ceb7429c1d5b6ae65deab2051f1be01f867
Author: Lev Stipakov
Date:   Fri Nov 14 12:50:22 2025 +0100

     recursive routing: fixes and clean-ups

     Signed-off-by: Lev Stipakov <[email protected]>
     Acked-by: Frank Lichtenheld <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1377
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg34415.html
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to