From: "mrbff (Code Review)"
Date: Thu, 19 Sep 2024 12:58:57 +0000
In-Reply-To:
References:
Reply-To: marco@...2726..., arne-openvpn@...1227...,
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="BaRp9Muzctc="; charset=UTF-8
Subject: [Openvpn-devel] [S] Change in openvpn[master]: route: copied
'gateway_needed' logic from add_route_ipv6 to add_route
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: cron2 , flichtenheld , plaisthos , openvpn-devel
--BaRp9Muzctc=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: cron2, flichtenheld, plaisthos.
mrbff has posted comments on this change. ( http://gerrit.openvpn.net/c/ope=
nvpn/+/677?usp=3Demail )
Change subject: route: copied 'gateway_needed' logic from add_route_ipv6 to=
add_route
......................................................................
Patch Set 10:
(5 comments)
File src/openvpn/route.c:
http://gerrit.openvpn.net/c/openvpn/+/677/comment/6cceaa5b_47265977 :
PS5, Line 1598: #ifndef _WIN32
> preprocessor directives should not be indented
Done
File src/openvpn/route.c:
http://gerrit.openvpn.net/c/openvpn/+/677/comment/71e62482_873a6e01 :
PS9, Line 1585: #if !defined(TARGET_LINUX)
> why is that `#ifndef` moved`? It's not used by the new Linux code either=
, or am I misreading it (so [=E2=80=A6]
"network" is now used in the new waning
http://gerrit.openvpn.net/c/openvpn/+/677/comment/39ad8e78_7d4d9eb3 :
PS9, Line 1599:
> this blank line (and the one at the end of the if()) feel superfluous
Done
http://gerrit.openvpn.net/c/openvpn/+/677/comment/aa38e9c7_74e2196e :
PS9, Line 1616: if (gateway_needed && r->gateway =3D=3D 0)
> if we add this here, we might consider getting rid of this warning in `in=
it_route()` then... [=E2=80=A6]
Acknowledged
http://gerrit.openvpn.net/c/openvpn/+/677/comment/423f7057_a24ac63a :
PS9, Line 1634: #if defined(TARGET_LINUX)
> this needs to go - two `#if defined(TARGET_LINUX)` next to each other, wi=
th nothing else in between. [=E2=80=A6]
no, you are right, my bad
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/677?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: Id1ec0c6e4c391604ec5dbb8b7122f2e47ad186d1
Gerrit-Change-Number: 677
Gerrit-PatchSet: 10
Gerrit-Owner: mrbff
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-CC: cron2
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: cron2
Gerrit-Attention: flichtenheld
Gerrit-Comment-Date: Thu, 19 Sep 2024 12:58:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2
Comment-In-Reply-To: flichtenheld
Gerrit-MessageType: comment
--BaRp9Muzctc=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: cron2, flichtenheld, plaisthos. <=
/p>
View C=
hange
5 comments:
=
"network" is now used in the new waning
Patch Se=
t #9, Line 1599:
this blank line (and the one at the end of the if()) feel =
superfluous
Done
Patch Set #9, Line 1616: if (gateway_needed && r-&g=
t;gateway =3D=3D 0)
if we add this here, we might con=
sider getting rid of this warning in `init_route()` then... [=E2=80=A6]Ack=
nowledged
Patch Set #9, Line 1634: #if defined(TARGET_LINUX)
this needs to go - two `#if defined(TARGET_LINUX)` next to each other, wi=
th nothing else in between. [=E2=80=A6]
no, you are right, my bad
<=
/ul>To view, visit change 677. To unsubscribe, or for help writing =
mail filters, visit settings=
.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Id1ec0c6e4c391604ec5dbb8b712=
2f2e47ad186d1
Gerrit-Change-Number: 677
Gerrit-PatchSet: 10
Gerrit-Owner: mrbff <marco@...2726...> <=
/div>
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-Attention: flichtenheld <frank@...2375...=
41...>
Gerrit-Comment-Date: Thu, 19 Sep 2024 12:58:57=
+0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: cron2 <gert@...1296...=
>
Comment-In-Reply-To: flichtenheld <frank@...1186...=
.2641...>
Gerrit-MessageType: comment
--BaRp9Muzctc=--