Source-Changes archive

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

Re: CVS commit: src/lib/libpcap



On Mar 20,  7:07pm, M.Drochner%fz-juelich.de@localhost (Matthias Drochner) 
wrote:
-- Subject: Re: CVS commit: src/lib/libpcap

| 
| christos%astron.com@localhost said:
| >     masklen == 128 = (16 * 8)
| >     mask.s6_addr[masklen / 8] = mask.s6_addr[16] = oops, since in6_addr: 
| 
| A masklen of 128 is certainly legal, but in that singular case
| (masklen % 8) is zero so that the code in question is not executed.

Yes, I see that now. A comment in the code would help.

christos



Home | Main Index | Thread Index | Old Index