From: "its_Giaan (Code Review)"
Date: Thu, 9 Jan 2025 13:52:47 +0000
In-Reply-To:
References:
Reply-To: gianmarco@...2726..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, frank@...2641...,
gert@...1296...
Message-ID: <656e2ba15e4570ed0532f5ec494d26dbd092f0d4-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="8UBYa8pgvGE="; 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: ,
Cc: cron2 , flichtenheld , plaisthos , openvpn-devel
--8UBYa8pgvGE=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: cron2, plaisthos.
its_Giaan has posted comments on this change. ( http://gerrit.openvpn.net/c=
/openvpn/+/764?usp=3Demail )
Change subject: Bind to multiple ipv4/ipv6 addresses
......................................................................
Patch Set 11:
(3 comments)
File src/openvpn/mudp.c:
http://gerrit.openvpn.net/c/openvpn/+/764/comment/28aa0c26_868ac69b :
PS10, Line 331: * Return the io_wait() flags appropriate for
> any particular reason why this is moved up?
just a leftover.
File src/openvpn/options.c:
http://gerrit.openvpn.net/c/openvpn/+/764/comment/3d99bd65_c221426a :
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 environmen=
t variable `len` times, eve [=E2=80=A6]
made another function to do this specifically for every local_entry, let me=
know if this is legal.
http://gerrit.openvpn.net/c/openvpn/+/764/comment/9afa3ab7_df013376 :
PS10, Line 3833: if (!has_udp_in_local_list(o))
> That's not really the right check - or the function is named badly. [=E2=
=80=A6]
made another function has_tcp_in_local_list(), might be useful in some case=
s, also I moved this check little bit down to when we have at least one loc=
al_entry, again, let me know if this is legal
--
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: 11
Gerrit-Owner: its_Giaan
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-CC: cron2
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: cron2
Gerrit-Comment-Date: Thu, 09 Jan 2025 13:52:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2
Gerrit-MessageType: comment
--8UBYa8pgvGE=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: cron2, plaisthos.
View C=
hange
3 comments:
=
File src/openvpn/mudp.c:
just a leftover.
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 basica=
lly set the same environment variable `len` times, eve [=E2=80=A6]made ano=
ther function to do this specifically for every local_entry, let me know if=
this is legal.
Patch Set #10, Line 3833: if (!has_udp_in_local_list(o))
That's not really the right check - or the function =
is named badly. [=E2=80=A6]
made another function has_tcp_in_local_list(), =
might be useful in some cases, also I moved this check little bit down to w=
hen we have at least one local_entry, again, let me know if this is legal=
p>
To view, visit change 764. To unsubscribe, or for help =
writing mail filters, visit =
settings.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I31bbf87e4e568021445c7512ece=
fadfd4a69b363
Gerrit-Change-Number: 764
Gerrit-PatchSet: 11
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: cron2 <gert@...1296...>=
;
Gerrit-Comment-Date: Thu, 09 Jan 2025 13:52:47=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <gert@...1296...=
>
Gerrit-MessageType: comment
--8UBYa8pgvGE=--