From: "cron2 (Code Review)"
Date: Sat, 2 Dec 2023 15:31:16 +0000
In-Reply-To:
References:
Reply-To: gert@...1296..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, frank@...2641...
Message-ID:
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="h35NTDnfylk="; charset=UTF-8
Subject: [Openvpn-devel] [S] Change in openvpn[master]: Remove
TEST_GET_DEFAULT_GATEWAY as it duplicates --show-gateway
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: plaisthos , flichtenheld
Cc: openvpn-devel
--h35NTDnfylk=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
cron2 has uploaded a new patch set (#2) to the change originally created by=
plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/463?usp=3Demail )
The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld
Change subject: Remove TEST_GET_DEFAULT_GATEWAY as it duplicates --show-gat=
eway
......................................................................
Remove TEST_GET_DEFAULT_GATEWAY as it duplicates --show-gateway
This debug code is not very useful as it is outdated and the same
functionality is provided by --show-gateway
Change-Id: Ie7fd59cc84e2eb024086c28c2ec2a5606a2b2e7c
Signed-off-by: Arne Schwabe
Acked-by: Frank Lichtenheld
Message-Id: <20231201111717.14940-1-frank@...2641...>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27=
624.html
Signed-off-by: Gert Doering
---
M src/openvpn/init.c
1 file changed, 0 insertions(+), 11 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/63/463/2
diff --git a/src/openvpn/init.c b/src/openvpn/init.c
index ca42c92..9972ed7 100644
--- a/src/openvpn/init.c
+++ b/src/openvpn/init.c
@@ -880,17 +880,6 @@
return false;
#endif
=20
-#ifdef TEST_GET_DEFAULT_GATEWAY
- {
- struct route_gateway_info rgi;
- struct route_ipv6_gateway_info rgi6;
- get_default_gateway(&rgi);
- get_default_gateway_ipv6(&rgi6, NULL);
- print_default_gateway(M_INFO, &rgi, &rgi6);
- return false;
- }
-#endif
-
#ifdef GEN_PATH_TEST
{
struct gc_arena gc =3D gc_new();
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/463?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: Ie7fd59cc84e2eb024086c28c2ec2a5606a2b2e7c
Gerrit-Change-Number: 463
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos
Gerrit-Reviewer: flichtenheld
Gerrit-CC: openvpn-devel
Gerrit-MessageType: newpatchset
--h35NTDnfylk=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
cron2 uploaded patch set #2 to the change originally cr=
eated by plaisthos.
View Change
The following approvals got outdated=
and were removed:
Code-Review+2 by flichtenheld
Remove TEST_GET_DEFAULT_GATEWAY as it duplica=
tes --show-gateway
This debug code is not very useful as it is outda=
ted and the same
functionality is provided by --show-gateway
Chan=
ge-Id: Ie7fd59cc84e2eb024086c28c2ec2a5606a2b2e7c
Signed-off-by: Arne Sch=
wabe <arne@...1227...>
Acked-by: Frank Lichtenheld <frank@...2375...=
41...>
Message-Id: <20231201111717.14940-1-frank@...2641...>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg2=
7624.html
Signed-off-by: Gert Doering <gert@...1296...>
---
=
M src/openvpn/init.c
1 file changed, 0 insertions(+), 11 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/63/463=
/2
diff --git a/src/openvpn/init.c b/src/openvpn/init.c
<=
span>index ca42c92..9972ed7 100644
--- a/src/openvpn/init.c=
+++ b/src/openvpn/init.c
@@ -880,17 +880,6=
@@
return false;
#endif
-#ifdef TEST_GET_=
DEFAULT_GATEWAY
- {<=
/span>
- struct route_g=
ateway_info rgi;
- =
struct route_ipv6_gateway_info rgi6;
- get_default_gateway(&rgi);
- get_default_gateway_ipv6(&rg=
i6, NULL);
- pri=
nt_default_gateway(M_INFO, &rgi, &rgi6);
- return false;
- }
-#endif
-
#ifdef GEN_PATH_TEST
{
=
struct gc_arena gc =3D gc_new();
<=
p>To view, visit change 463. To unsubscribe, or for help writing mail filters,=
visit settings.
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie7fd59cc84e2eb024086c28c2ec=
2a5606a2b2e7c
Gerrit-Change-Number: 463
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <arne-openvpn@...1711...=
27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...=
1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...=
ts.sourceforge.net>
Gerrit-MessageType: newpatchset
--h35NTDnfylk=--