simplified setting of additional configuration in the worker process

This commit is contained in:
Nikos Mavrogiannopoulos
2013-12-09 19:59:46 +01:00
parent e367acc41d
commit c5e656a916
4 changed files with 50 additions and 55 deletions
-10
View File
@@ -140,19 +140,9 @@ typedef struct worker_st {
int tun_fd;
/* additional data - received per user or per group */
char *ipv4_dns;
char *ipv6_dns;
char *ipv4_nbns;
char *ipv6_nbns;
char *ipv4_netmask;
char *ipv6_netmask;
unsigned routes_size;
char* routes[MAX_ROUTES];
size_t rx_per_sec;
size_t tx_per_sec;
unsigned net_priority;
struct http_req_st req;
} worker_st;