Skip to content

Commit

Permalink
tpws: fix BSD build
Browse files Browse the repository at this point in the history
  • Loading branch information
bol-van committed Nov 19, 2024
1 parent 9812630 commit 4470c73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tpws/tpws.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4470c73

Please sign in to comment.