From: "cron2 (Code Review)" Date: Thu, 19 Sep 2024 11:10:41 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., marco@...2726..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <87542ce3f7b6ac520989148a01b2051e03c207e9-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="5BSVfKT12IY="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: route: copied 'gateway_needed' logic from add_route_ipv6 to add_route List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mrbff Cc: flichtenheld , plaisthos , openvpn-devel --5BSVfKT12IY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld, mrbff, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/677?usp=3Demail ) Change subject: route: copied 'gateway_needed' logic from add_route_ipv6 to= add_route ...................................................................... Patch Set 9: (5 comments) Patchset: PS9: Getting there... File src/openvpn/route.c: http://gerrit.openvpn.net/c/openvpn/+/677/comment/cc58944a_810b6a73 : PS9, Line 1585: #if !defined(TARGET_LINUX) why is that `#ifndef` moved`? It's not used by the new Linux code either, = or am I misreading it (so, no -Werror safe)? http://gerrit.openvpn.net/c/openvpn/+/677/comment/fc88af46_52bd13d6 : PS9, Line 1599: this blank line (and the one at the end of the if()) feel superfluous http://gerrit.openvpn.net/c/openvpn/+/677/comment/6c4000d3_493952ff : PS9, Line 1616: if (gateway_needed && r->gateway =3D=3D 0) if we add this here, we might consider getting rid of this warning in `init= _route()` then... but this is a bit complex, as for most platforms `gatewa= y_needed =3D true` is still valid, due to limits in route table handling http://gerrit.openvpn.net/c/openvpn/+/677/comment/1ea919ca_7a56279c : PS9, Line 1634: #if defined(TARGET_LINUX) this needs to go - two `#if defined(TARGET_LINUX)` next to each other, with= nothing else in between. Or am I misreading the diff? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/677?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Id1ec0c6e4c391604ec5dbb8b7122f2e47ad186d1 Gerrit-Change-Number: 677 Gerrit-PatchSet: 9 Gerrit-Owner: mrbff Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: cron2 Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: mrbff Gerrit-Comment-Date: Thu, 19 Sep 2024 11:10:41 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --5BSVfKT12IY= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld, mrbff, plaisthos. <= /p>

View C= hange

5 comments:

    =
  • Patchset:

  • File src/openvpn/route.c:

  • To view, visit change 677. To unsubscribe, or for help writing mail filter= s, visit settings.

    Gerrit-Project: openvpn
    Gerrit-Branch: master
    Gerrit-Change-Id: Id1ec0c6e4c391604ec5dbb8b712= 2f2e47ad186d1
    Gerrit-Change-Number: 677
    Gerrit-PatchSet: 9
    Gerrit-Owner: mrbff <marco@...2726...> <= /div>
    Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
    Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
    Gerrit-CC: cron2 <gert@...1296...>
    Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
    Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
    Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
    Gerrit-Attention: mrbff <marco@...2726...&g= t;
    Gerrit-Comment-Date: Thu, 19 Sep 2024 11:10:41= +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Gerrit-MessageType: comment
    --5BSVfKT12IY=--