* 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