mirror of
https://github.com/bol-van/zapret.git
synced 2026-03-15 01:31:55 +00:00
tpws: always compile PF support, use --enable-pf flag in FreeBSD
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <net/if.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/param.h>
|
||||
#include "strpool.h"
|
||||
|
||||
enum splithttpreq { split_none = 0, split_method, split_host };
|
||||
@@ -46,6 +47,10 @@ struct params_s
|
||||
strpool *hostlist;
|
||||
|
||||
int debug;
|
||||
|
||||
#if defined(BSD)
|
||||
bool pf_enable;
|
||||
#endif
|
||||
};
|
||||
|
||||
extern struct params_s params;
|
||||
|
||||
Reference in New Issue
Block a user