Tea Inside Mailing List <[email protected]>
 help / color / mirror / Atom feed
From: Ammar Faizi <[email protected]>
To: Tea Inside Mailing List <[email protected]>
Cc: Ammar Faizi <[email protected]>,
	Alviro Iskandar Setiawan <[email protected]>,
	Khaerul Ilham <[email protected]>
Subject: [PATCH] config: Use shorter dev name
Date: Thu,  3 Feb 2022 04:34:09 +0700	[thread overview]
Message-ID: <[email protected]> (raw)

IFACENAMESIZ is only 16 bytes, don't use too long name for the
default template config.

Link: https://t.me/TeaInside/48489
Fixes: 67d9c3698f8819da15e5d7bef33a134d36fc663e ("config/{client,server}: Update interface name to teavpn2")
Cc: Alviro Iskandar Setiawan <[email protected]>
Reported-by: Khaerul Ilham <[email protected]>
Signed-off-by: Ammar Faizi <[email protected]>
---
 config/client.ini | 2 +-
 config/server.ini | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/client.ini b/config/client.ini
index fb82aaf..55e6ae8 100644
--- a/config/client.ini
+++ b/config/client.ini
@@ -15,7 +15,7 @@ server_addr = 127.0.0.1
 server_port = 44444
 
 [iface]
-dev = teavpn2-client-001
+dev = teavpn2-cl-01
 
 ;
 ; Set override_default to 1 if you want to use VPN as
diff --git a/config/server.ini b/config/server.ini
index f75ad2d..96dcea1 100644
--- a/config/server.ini
+++ b/config/server.ini
@@ -18,7 +18,7 @@ ssl_cert = data/server/default_cert.pem
 ssl_priv_key = data/server/default_key.pem
 
 [iface]
-dev = teavpn2-server-001
+dev = teavpn2-sr-01
 mtu = 1450
 ipv4 = 10.5.5.1
 ipv4_netmask = 255.255.255.0
-- 
2.32.0


                 reply	other threads:[~2022-02-02 21:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox