mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-25 19:50:50 +05:00
nfqws: allow zero autottl
This commit is contained in:
parent
c993f117a2
commit
71aebbb4d3
@ -261,7 +261,7 @@ typedef struct
|
||||
int8_t delta;
|
||||
uint8_t min, max;
|
||||
} autottl;
|
||||
#define AUTOTTL_ENABLED(a) (!!(a).delta)
|
||||
#define AUTOTTL_ENABLED(a) ((a).delta || (a).min || (a).max)
|
||||
|
||||
uint8_t hop_count_guess(uint8_t ttl);
|
||||
uint8_t autottl_eval(uint8_t hop_count, const autottl *attl);
|
||||
|
Loading…
x
Reference in New Issue
Block a user