From: "ordex (Code Review)" Date: Tue, 14 Oct 2025 12:31:29 +0000 In-Reply-To: References: Reply-To: antonio@...2726..., arne-openvpn@...1227..., marco@...2726..., openvpn-devel@lists.sourceforge.net, frank@...2641..., gert@...1296... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="nfePQ64EoiA="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: PUSH_UPDATE server: remove old IP(s) from vhash after sending a messa... List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mrbff Cc: plaisthos , flichtenheld , openvpn-devel --nfePQ64EoiA= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: cron2, flichtenheld, mrbff, plaisthos. ordex has posted comments on this change by mrbff. ( http://gerrit.openvpn.= net/c/openvpn/+/1253?usp=3Demail ) Change subject: PUSH_UPDATE server: remove old IP(s) from vhash after sendi= ng a message containing ifconfig(-ipv6) ...................................................................... Patch Set 6: (2 comments) File src/openvpn/push_util.c: http://gerrit.openvpn.net/c/openvpn/+/1253/comment/ffcc2b41_1a82ecae?usp=3D= email : PS6, Line 165: o.ifconfig_local =3D canary; in other parts of the code we use having a bool named like `$option_defined= ` (in this case it would be `o.ifconfig_local_defined`) which is set to `tr= ue` when the option is present, but the value is ambiguous. May it make sense to do the same here instead of going the "canary" logic w= hich would be unique to this piece of code? @gert@...1296... any opinion? http://gerrit.openvpn.net/c/openvpn/+/1253/comment/fdd76947_101b92fc?usp=3D= email : PS6, Line 166: o.ifconfig_ipv6_local =3D canary; same for this obviously. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/1253?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: I07a8ddd9026eef64b6f5abde98702a9801616a5f Gerrit-Change-Number: 1253 Gerrit-PatchSet: 6 Gerrit-Owner: mrbff Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-CC: ordex Gerrit-Attention: plaisthos Gerrit-Attention: cron2 Gerrit-Attention: flichtenheld Gerrit-Attention: mrbff Gerrit-Comment-Date: Tue, 14 Oct 2025 12:31:29 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No --nfePQ64EoiA= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

View = Change

2 comments:

  • File src/openvpn/push_util.c:

    <= ul style=3D"list-style: none; padding: 0;">
  • Patch Set = #6, Line 165: o.ifc= onfig_local =3D canary;

    in other parts of the code we use having= a bool named like `$option_defined` (in this case it would be `o.ifconfig_= local_defined`) which is set to `true` when the option is present, but the = value is ambiguous.

    May it make sense to do the same here instead of go= ing the "canary" logic which would be unique to this piece of cod= e?

    @gert@...1296... any opinion?

  • Patch Se= t #6, Line 166: o.i= fconfig_ipv6_local =3D canary;

    same for this obviously.

  • =

To view, visit change 1253. To unsubscribe, or for help writi= ng mail filters, visit settings.

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I07a8ddd9026eef64b6f5abde987= 02a9801616a5f
Gerrit-Change-Number: 1253
Gerrit-PatchSet: 6
Gerrit-Owner: mrbff <marco@...2726...> <= /div>
Gerrit-Reviewer: cron2 <gert@...1296...>=
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: ordex <antonio@...2726...>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: cron2 <gert@...1296...>= ;
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-Attention: mrbff <marco@...2726...&g= t;
Gerrit-Comment-Date: Tue, 14 Oct 2025 12:31:29= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
= --nfePQ64EoiA=--