Take into account peer's MTU values after considering the overhead.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-01-30 10:36:01 +01:00
parent 7129b7b316
commit 524e90351f
2 changed files with 47 additions and 40 deletions
+3
View File
@@ -156,6 +156,9 @@ typedef struct worker_st {
uint8_t session_id[GNUTLS_MAX_SESSION_ID];
unsigned cert_auth_ok;
int tun_fd;
/* information on the tun device addresses and network */
struct vpn_st vinfo;
/* additional data - received per user or per group */
unsigned routes_size;