From: "cron2 (Code Review)" Date: Mon, 30 Dec 2024 19:28:08 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., gianmarco@...2726..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <91df5372ae900766974506a52aca986208e4adb0-EmailReviewComments-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="HZCcVbVEm/c="; charset=UTF-8 Subject: [Openvpn-devel] [L] Change in openvpn[master]: Bind to multiple ipv4/ipv6 addresses List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: its_Giaan Cc: flichtenheld , plaisthos , openvpn-devel --HZCcVbVEm/c= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: its_Giaan, plaisthos. cron2 has posted comments on this change. ( http://gerrit.openvpn.net/c/ope= nvpn/+/764?usp=3Demail ) Change subject: Bind to multiple ipv4/ipv6 addresses ...................................................................... Patch Set 10: (4 comments) Patchset: PS10: some initial comments File src/openvpn/mudp.c: http://gerrit.openvpn.net/c/openvpn/+/764/comment/4b14a43b_444e9460 : PS10, Line 331: * Return the io_wait() flags appropriate for any particular reason why this is moved up? File src/openvpn/options.c: http://gerrit.openvpn.net/c/openvpn/+/764/comment/daecd6cc_2a7c62a8 : PS10, Line 1000: for (int j =3D 0; j < e->local_list->len; j++) not sure how useful that change is - we basically set the same environment = variable `len` times, every time overwriting the previous one. http://gerrit.openvpn.net/c/openvpn/+/764/comment/62ecf583_fdc89a37 : PS10, Line 3833: if (!has_udp_in_local_list(o)) That's not really the right check - or the function is named badly. The ch= eck needs to be `if (has_tcp_...)` or `if (!has_only_udp_...)`, no? -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/764?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: I31bbf87e4e568021445c7512ecefadfd4a69b363 Gerrit-Change-Number: 764 Gerrit-PatchSet: 10 Gerrit-Owner: its_Giaan Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: cron2 Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-Attention: its_Giaan Gerrit-Comment-Date: Mon, 30 Dec 2024 19:28:08 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment --HZCcVbVEm/c= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: its_Giaan, plaisthos.

View C= hange

4 comments:

    =
  • Patchset:

  • File src/openvpn/mudp.c:

  • File src/openvpn/options.c:

    • Patch Set #10, Line 1000: for (int j =3D 0; j < e-= >local_list->len; j++)

      not sure how useful that change is - we basically se= t the same environment variable `len` times, every time overwriting the pre= vious one.

    • Patch Set #10, Line 3833: if (!has_udp_in_local_list(o))<= /p>

      That's no= t really the right check - or the function is named badly. The check needs= to be `if (has_tcp_...)` or `if (!has_only_udp_...)`, no?

To view, visit change 764. To unsubscribe, or for help writing mail fi= lters, visit settings.

=
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I31bbf87e4e568021445c7512ece= fadfd4a69b363
Gerrit-Change-Number: 764
Gerrit-PatchSet: 10
Gerrit-Owner: its_Giaan <gianmarco@...2786...= ..>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: cron2 <gert@...1296...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-Attention: its_Giaan <gianmarco@...1665...= 726...>
Gerrit-Comment-Date: Mon, 30 Dec 2024 19:28:08= +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
--HZCcVbVEm/c=--