From: "stipa (Code Review)" Date: Wed, 15 Oct 2025 12:47:24 +0000 In-Reply-To: References: Reply-To: lstipakov@...277..., arne-openvpn@...1227..., marco@...2726..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <7fbb58de8bfce3fc1bf9c1acdc30d188bec96205-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="ED4iVfO6O44="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: redirect-gateway: add route toward new remote host when using persist... List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mrbff Cc: plaisthos , flichtenheld , openvpn-devel --ED4iVfO6O44= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, mrbff, plaisthos. stipa has posted comments on this change by mrbff. ( http://gerrit.openvpn.= net/c/openvpn/+/901?usp=3Demail ) Change subject: redirect-gateway: add route toward new remote host when usi= ng persist-tun ...................................................................... Patch Set 3: (1 comment) File src/openvpn/route.c: http://gerrit.openvpn.net/c/openvpn/+/901/comment/1a8b4adf_ca79cad5?usp=3De= mail : PS3, Line 1230: int current_remote_family =3D c->c1.link_socket_addrs[0= ].actual.dest.addr.sa.sa_family; Can we factor out c->c1.link_socket_addrs[0].actual.dest.addr into its own = variable? We use this long statement in 3 places in this function. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/901?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings?usp=3Demail Gerrit-MessageType: comment Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ic7b486ccb85df7fc1d6a573ac1315d235728822c Gerrit-Change-Number: 901 Gerrit-PatchSet: 3 Gerrit-Owner: mrbff Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-CC: stipa Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: mrbff Gerrit-Comment-Date: Wed, 15 Oct 2025 12:47:24 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No --ED4iVfO6O44= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: flichtenheld, mrbff, plaisthos.

View C= hange

1 comment:

    <= li style=3D"margin: 0; padding: 0;">

    File src/openvpn/route.c:

    • Patch Set #3, Lin= e 1230: int current= _remote_family =3D c->c1.link_socket_addrs[0].actual.dest.addr.sa.sa_fam= ily;

      Can we factor out c->c1.link_socket_addrs[0].actual.dest= .addr into its own variable? We use this long statement in 3 places in this= function.

To view, visit change 901. To unsubscribe, = or for help writing mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ic7b486ccb85df7fc1d6a573ac13= 15d235728822c
Gerrit-Change-Number: 901
Gerrit-PatchSet: 3
Gerrit-Owner: mrbff <marco@...2726...> <= /div>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-CC: stipa <lstipakov@...277...> <= /div>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Attention: mrbff <marco@...2726...&g= t;
Gerrit-Comment-Date: Wed, 15 Oct 2025 12:47:24= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
= --ED4iVfO6O44=--