From: "ordex (Code Review)" Date: Tue, 14 Oct 2025 12:36:03 +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="pEAQlbOyGbE="; 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 --pEAQlbOyGbE= 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: (1 comment) File src/openvpn/multi.c: http://gerrit.openvpn.net/c/openvpn/+/1253/comment/88c29763_372fcfb0?usp=3D= email : PS5, Line 4390: mi->context.c2.push_ifconfig_local =3D htonl(ne= w_addr.s_addr); something is weird here. if we are calling ntohl(s_addr) a few lines above,= we can't just call htonl(s_addr) here.... @marco@...2726... you said you p= rinted the values *byte by byte*? -- 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:36:03 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No --pEAQlbOyGbE= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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

View = Change

1 comment:

    =
  • File src/openvpn/multi.c:

    • Patch Set #5, L= ine 4390: m= i->context.c2.push_ifconfig_local =3D htonl(new_addr.s_addr);

      =

      something is weird here. if we are calling ntohl(s_addr) a few lines above= , we can't just call htonl(s_addr) here.... @marco@...2726... you said = you printed the values *byte by byte*?

To view, v= isit cha= nge 1253. To unsubscribe, or for help writing 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:36:03= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
= --pEAQlbOyGbE=--