From: "cron2 (Code Review)" Date: Sun, 19 Oct 2025 09:56:30 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., heiko@...515..., openvpn-devel@lists.sourceforge.net, frank@...2641..., antonio@...2726... Message-ID: <3da1bb2e50ab315258a7c28ef93baec4d9816682-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="fFxkQNGTBhM="; charset=UTF-8 Subject: [Openvpn-devel] [M] Change in openvpn[master]: Install host routes for ifconfig-push routes when DCO is enabled List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos Cc: d12fk , flichtenheld , openvpn-devel --fFxkQNGTBhM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: d12fk, flichtenheld, ordex, plaisthos. cron2 has posted comments on this change by plaisthos. ( http://gerrit.open= vpn.net/c/openvpn/+/1192?usp=3Demail ) Change subject: Install host routes for ifconfig-push routes when DCO is en= abled ...................................................................... Patch Set 11: (1 comment) File src/openvpn/multi.c: http://gerrit.openvpn.net/c/openvpn/+/1192/comment/e8420035_d33ff056?usp=3D= email : PS11, Line 4377: &o->push_ifconfig_ipv6= _local)); > Ah, here we go. This fails if there is *no* `ifconfig-ipv6-push` in the = config, as then we have [=E2=80=A6] Maybe it would also be an idea to change `multi_check_push_ifconfig_ipv6_ex= tra_route()` to not be passed a `mi` but the actual route we want to check?= Both callers know what IPv6 address they want to be looked at (a6 / &mi->= context.c2.push_ifconfig_ipv6_local) and actually passing *that* address wo= uld certainly make the code easier to understand... (For symmetry reasons, the same argument could be made for IPv4, of course) -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1192?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: I83295e00d1a756dfa44050b0a4493095fb050fff Gerrit-Change-Number: 1192 Gerrit-PatchSet: 11 Gerrit-Owner: plaisthos Gerrit-Reviewer: cron2 Gerrit-Reviewer: d12fk Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: ordex Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: flichtenheld Gerrit-Attention: ordex Gerrit-Attention: d12fk Gerrit-Comment-Date: Sun, 19 Oct 2025 09:56:30 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: cron2 --fFxkQNGTBhM= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

View = Change

1 comment:

    =
  • File src/openvpn/multi.c:

    • Patch Set #11, = Line 4377: = &o->push_ifconfig_ipv6_local));

      Ah, here we go. This fails if there is *no* `ifconfig-ipv6-push`= in the config, as then we have [=E2=80=A6]

      Maybe it would= also be an idea to change `multi_check_push_ifconfig_ipv6_extra_route()` t= o not be passed a `mi` but the actual route we want to check? Both callers= know what IPv6 address they want to be looked at (a6 / &mi->context= .c2.push_ifconfig_ipv6_local) and actually passing *that* address would cer= tainly make the code easier to understand...

      (For symmetry reasons, t= he same argument could be made for IPv4, of course)

=

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

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I83295e00d1a756dfa44050b0a44= 93095fb050fff
Gerrit-Change-Number: 1192
Gerrit-PatchSet: 11
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: d12fk <heiko@...515...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: ordex <antonio@...2726...&= gt;
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: ordex <antonio@...2726...= >
Gerrit-Attention: d12fk <heiko@...515...>= ;
Gerrit-Comment-Date: Sun, 19 Oct 2025 09:56:30= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <gert@...1296...= >
= --fFxkQNGTBhM=--