Re: ipt_recent 0.3.0 --rttl still doesn't work (I made a patch instead, can't wait)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* per j (perj8@hotmail.com) wrote:
> >apparently.  I believe that *should* read:
> >while(hash_table[hash_result] != -1 && 
> >!(r_list[hash_table[hash_result]].addr == addr &&
> >	(!r_list[hash_table[hash_result]].ttl || 
> >r_list[hash_table[hash_result]].ttl != ttl))) {
> >
> >Instead.  Note that I also had to invert the ttl check, it should be
> >considered a collision when the ttl doesn't match and matching ttl has
> >been requested.
> >
> 
> It's already inverted at '-1 && !(...)', so I'm using the original ttl 
> check.

Oh, right, good point, thanks.

	Stephen

Attachment: pgp00357.pgp
Description: PGP signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux