mirror of
https://github.com/bol-van/zapret.git
synced 2026-03-09 14:55:25 +00:00
tpws: move portfilter code
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include <time.h>
|
||||
#include "tpws.h"
|
||||
#include "pools.h"
|
||||
#include "helpers.h"
|
||||
|
||||
#define HOSTLIST_AUTO_FAIL_THRESHOLD_DEFAULT 3
|
||||
#define HOSTLIST_AUTO_FAIL_TIME_DEFAULT 60
|
||||
@@ -25,12 +26,6 @@ struct bind_s
|
||||
int bind_wait_ifup,bind_wait_ip,bind_wait_ip_ll;
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
uint16_t from,to;
|
||||
bool neg;
|
||||
} port_filter;
|
||||
|
||||
struct params_s
|
||||
{
|
||||
struct bind_s binds[MAX_BINDS];
|
||||
|
||||
Reference in New Issue
Block a user