Tea Inside Mailing List <[email protected]>
 help / color / mirror / Atom feed
* [PATCH] config: Use shorter dev name
@ 2022-02-02 21:34 Ammar Faizi
  0 siblings, 0 replies; only message in thread
From: Ammar Faizi @ 2022-02-02 21:34 UTC (permalink / raw)
  To: Tea Inside Mailing List
  Cc: Ammar Faizi, Alviro Iskandar Setiawan, Khaerul Ilham

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-02 21:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-02 21:34 [PATCH] config: Use shorter dev name Ammar Faizi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox