From: "flichtenheld (Code Review)" Date: Tue, 10 Mar 2026 10:28:42 +0000 In-Reply-To: References: Reply-To: frank@...2641..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, ralf@...2726... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="vmSk6tFRtB4="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: options: add IPv4 CIDR parsing for relevant directives List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ralf_lici Cc: plaisthos , openvpn-devel --vmSk6tFRtB4= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos, ralf_lici. flichtenheld has posted comments on this change by ralf_lici. ( http://gerr= it.openvpn.net/c/openvpn/+/739?usp=3Demail ) Change subject: options: add IPv4 CIDR parsing for relevant directives ...................................................................... Patch Set 9: (2 comments) File src/openvpn/options.c: http://gerrit.openvpn.net/c/openvpn/+/739/comment/c0e57a84_9a30f6b2?usp=3De= mail : PS9, Line 7688: remote_netmask =3D getaddr(GETADDR_HOST_ORDER | GET= ADDR_RESOLVE, ifconfig_push_parms[2], 0, > I agree. The main issue is that IPv4 options in options. [=E2=80=A6] Acknowledged File src/openvpn/options_util.c: http://gerrit.openvpn.net/c/openvpn/+/739/comment/dc618575_003b428a?usp=3De= mail : PS9, Line 232: * socket_util.c dependencies into options_util unit-tes= t targets. */ > Just to make sure I understood this point correctly: do you prefer that I= switch to print_in_addr_t( [=E2=80=A6] Okay, to be clear: My opinion is that this code should not be duplicated. I= think it is complicated enough that we should avoid this. The UT changes are probably not actually a problem. The list of dependencie= s of test_socket is also reasonably small so I can't imagine this will be a= complicated addition to test_options. If that turns out to be wrong we could also look into whether moving the co= de to options_util would be simpler. There is no strict reason why it needs= to be in socket_util. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/739?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: Iae04ad8715e40dfc76475c2c5b9a766c9604efc9 Gerrit-Change-Number: 739 Gerrit-PatchSet: 9 Gerrit-Owner: ralf_lici Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: ralf_lici Gerrit-Comment-Date: Tue, 10 Mar 2026 10:28:42 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: flichtenheld Comment-In-Reply-To: ralf_lici --vmSk6tFRtB4= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is cur= rently required from: plaisthos, ralf_lici.

View C= hange

2 comments: