From: "cron2 (Code Review)" Date: Mon, 16 Sep 2024 14:58:16 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <06a47f0b998be2ff4066f3900252a1789c25495f-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="zE/ScnJJbuI="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: Make read/write_tun_header static List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: plaisthos , flichtenheld Cc: openvpn-devel --zE/ScnJJbuI= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#3) to the change originally created by= plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/745?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by cron2 Change subject: Make read/write_tun_header static ...................................................................... Make read/write_tun_header static These functions are not used outside tun.c Change-Id: I028634dba74a273c725b0beb16b674897b3c23fa Signed-off-by: Arne Schwabe Acked-by: Gert Doering Message-Id: <20240916133436.29943-1-gert@...1296...> Signed-off-by: Gert Doering URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29= 249.html --- M src/openvpn/tun.c 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/45/745/3 diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 82c5c00..8b6c34d 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -1792,7 +1792,7 @@ } } -int +static int write_tun_header(struct tuntap *tt, uint8_t *buf, int len) { if (tt->type =3D=3D DEV_TYPE_TUN) @@ -1825,7 +1825,7 @@ } } -int +static int read_tun_header(struct tuntap *tt, uint8_t *buf, int len) { if (tt->type =3D=3D DEV_TYPE_TUN) -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/745?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: I028634dba74a273c725b0beb16b674897b3c23fa Gerrit-Change-Number: 745 Gerrit-PatchSet: 3 Gerrit-Owner: plaisthos Gerrit-Reviewer: cron2 Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-MessageType: newpatchset --zE/ScnJJbuI= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 uploaded patch set #3 to the change originally cr= eated by plaisthos.

View Change

The following approvals got outdated= and were removed: Code-Review+2 by cron2

Make read/write_tun_header static

These funct= ions are not used outside tun.c

Change-Id: I028634dba74a273c725b0beb= 16b674897b3c23fa
Signed-off-by: Arne Schwabe <arne@...1227...>
= Acked-by: Gert Doering <gert@...1296...>
Message-Id: <202409161= 33436.29943-1-gert@...1296...>
Signed-off-by: Gert Doering <gert@...220...= ..1296...>
URL: https://www.mail-archive.com/openvpn-devel@...1439...= ceforge.net/msg29249.html
---
M src/openvpn/tun.c
1 file changed, = 2 insertions(+), 2 deletions(-)

git pull ssh://gerrit.openvpn.net=
:29418/openvpn refs/changes/45/745/3
diff --git a/src/openvpn/tun.c=
 b/src/openvpn/tun.c
index 82c5c00..8b6c34d 100644--- a/src/openvpn/tun.c
+++ b/src/openvpn/tun.c
@@ -1792,7 +1792,7 @@
}
= }

-in= t
+static int<= br> write_tun_header(struct tuntap *tt, uint8_t *buf, int len)=
{
if (tt->type =3D=3D DEV_TYPE_TUN)
@@ -1825,7 +1825,7 @@
}
}=

-int=
+static int read_tun_header(struct tuntap *tt, uint8_t *buf, int len) {
if (tt->type =3D=3D DEV_TYPE_TUN)=

To view, visit change 745. To unsubscribe, or for = help writing mail filters, visit settings.

=
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I028634dba74a273c725b0beb16b= 674897b3c23fa
Gerrit-Change-Number: 745
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: cron2 <gert@...1296...>=
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-MessageType: newpatchset
--zE/ScnJJbuI=--