From: "cron2 (Code Review)" Date: Sun, 12 Oct 2025 12:59:34 +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: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="OtlmqA1Nmj8="; 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 --OtlmqA1Nmj8= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: 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 8: (1 comment) Patchset: PS8: Ah, it compiles because that particular test instance had `configure --disa= ble-dco`. If configured without that, compilation bombs in the expected way ``` CC dco.o dco.c: In function 'dco_install_iroute': dco.c:683:26: error: 'MR_ONLINK_ADDR' undeclared (first use in this functio= n); did you mean 'MR_ONLINK_DCO_ADDR'? 683 | if (addr->type & MR_ONLINK_ADDR) | ^~~~~~~~~~~~~~ | MR_ONLINK_DCO_ADDR dco.c:683:26: note: each undeclared identifier is reported only once for ea= ch function it appears in dco.c: In function 'dco_delete_iroutes': dco.c:744:13: error: implicit declaration of function 'dco_win_del_iroute_i= pv4' [-Wimplicit-function-declaration] 744 | dco_win_del_iroute_ipv4(&c->c1.tuntap->dco, mi->context= .c2.push_ifconfig_local, 32); | ^~~~~~~~~~~~~~~~~~~~~~~ ``` -- 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: 8 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-Comment-Date: Sun, 12 Oct 2025 12:59:34 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No --OtlmqA1Nmj8= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

View = Change

1 comment:

    =
  • Patchset:

    • Patch Set #8:

      Ah, it compiles= because that particular test instance had `configure --disable-dco`. If c= onfigured without that, compilation bombs in the expected way

      ```
      CC dco.o
      dco.c: In function 'dco_install_iroute&#= 39;:
      dco.c:683:26: error: 'MR_ONLINK_ADDR' undeclared (first use= in this function); did you mean 'MR_ONLINK_DCO_ADDR'?
      683 | = if (addr->type & MR_ONLINK_ADDR)
      | = ^~~~~~~~~~~~~~
      | MR_ONLINK_DCO_AD= DR
      dco.c:683:26: note: each undeclared identifier is reported only once = for each function it appears in
      dco.c: In function 'dco_delete_irout= es':
      dco.c:744:13: error: implicit declaration of function 'dco_= win_del_iroute_ipv4' [-Wimplicit-function-declaration]
      744 | = dco_win_del_iroute_ipv4(&c->c1.tuntap->dco, mi->context= .c2.push_ifconfig_local, 32);
      | ^~~~~~~~~~~~~~~~~~~~~~= ~
      ```

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: 8
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-Comment-Date: Sun, 12 Oct 2025 12:59:34= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
= --OtlmqA1Nmj8=--