mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-20 19:44:56 +02:00
compat_xtables: dissolve unusued rt_dst
This commit is contained in:
@@ -79,7 +79,7 @@ static bool xttarpit_tarpit(struct tcphdr *tcph, const struct tcphdr *oth)
|
||||
#if 0
|
||||
/* Rate-limit replies to !SYN,ACKs */
|
||||
if (!oth->syn && oth->ack)
|
||||
if (!xrlim_allow(rt_dst(ort), HZ))
|
||||
if (!xrlim_allow(&ort->dst, HZ))
|
||||
return false;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user