tpws: always compile PF support, use --enable-pf flag in FreeBSD

This commit is contained in:
bol-van
2022-01-23 23:11:11 +03:00
parent 0f55960460
commit cc5f0af5a8
9 changed files with 34 additions and 31 deletions

View File

@@ -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;