mirror of
https://github.com/ntop/n2n.git
synced 2024-04-21 16:31:34 +00:00
merged edge's subnet parameter into address parameter
This commit is contained in:
@@ -257,7 +257,6 @@ typedef struct n2n_tuntap_priv_config {
|
||||
dec_ip_str_t netmask;
|
||||
char device_mac[N2N_MACNAMSIZ];
|
||||
int mtu;
|
||||
uint8_t got_s;
|
||||
uint8_t daemon;
|
||||
#ifndef WIN32
|
||||
uid_t userid;
|
||||
|
||||
@@ -89,6 +89,10 @@
|
||||
#define N2N_MACNAMSIZ 18 /* AA:BB:CC:DD:EE:FF + NULL*/
|
||||
#define N2N_IF_MODE_SIZE 16 /* static | dhcp */
|
||||
|
||||
#define N2N_EDGE_DEFAULT_DEV_NAME "edge0"
|
||||
#define N2N_EDGE_DEFAULT_NETMASK "255.255.255.0" /* default netmask for edge ip address... */
|
||||
#define N2N_EDGE_DEFAULT_CIDR_NM 24 /* ... also in cidr format */
|
||||
|
||||
#define N2N_SN_LPORT_DEFAULT 7654
|
||||
#define N2N_SN_PKTBUF_SIZE 2048
|
||||
|
||||
|
||||
Reference in New Issue
Block a user