tpws: fix BSD build

This commit is contained in:
bol-van 2024-11-19 18:04:54 +03:00
parent 9812630ef2
commit 4470c73e48

View File

@ -538,7 +538,9 @@ void parse_params(int argc, char *argv[])
params.pf_enable = true; // OpenBSD and MacOS have no other choice
#endif
#ifdef __linux__
params.fix_seg_avail = socket_supports_notsent();
#endif
LIST_INIT(&params.hostlists);
LIST_INIT(&params.ipsets);