1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-13 03:04:58 +03:00

Cedar: Don't hardcode prefix for UNIX virtual network interface

This commit is contained in:
Koichiro IWAO
2023-05-30 23:01:37 +09:00
parent 3c70698c35
commit 9c33605f5e
3 changed files with 7 additions and 4 deletions

View File

@ -675,6 +675,8 @@
//
//////////////////////////////////////////////////////////////////////
#define UNIX_VLAN_IFACE_PREFIX "vpn" // Prefix of UNIX virual LAN card interface
#ifndef UNIX_BSD
#define TAP_FILENAME_1 "/dev/net/tun"
#define TAP_FILENAME_2 "/dev/tun"