diff options
author | paul <paul> | 2004-10-05 14:39:43 +0000 |
---|---|---|
committer | paul <paul> | 2004-10-05 14:39:43 +0000 |
commit | 7216466aecd59e675a4f66d6e329e748f32ad690 (patch) | |
tree | f1fdec0381383aef8b8491008c4337f89c5bc077 /zebra/ChangeLog | |
parent | 18b12c387e2bcd8a0e81a8d2635c1ef52c8a9a7d (diff) |
2004-10-05 Paul Jakma <paul@dishone.st>
* irdp_packet.c: (parse_irdp_packet) style issues.
Use sockopt_iphdrincl_swab_systoh.
Try unbork the code. Checksum the ICMP data and actually
compare it to received checksum. Check data length against
claimed length in header.
Always use ntoh.. when accessing addresses, even when the
comparison happens to be endian-safe.
(send_packet) minor style isues. Use
sockopt_iphdrincl_swab_htosys.
(irdp_iph_hton/ntoh) IP header to/from network/host order.
Diffstat (limited to 'zebra/ChangeLog')
-rw-r--r-- | zebra/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog index fb8d0ab1..a6ac1fc3 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,16 @@ +2004-10-05 Paul Jakma <paul@dishone.st> + + * irdp_packet.c: (parse_irdp_packet) style issues. + Use sockopt_iphdrincl_swab_systoh. + Try unbork the code. Checksum the ICMP data and actually + compare it to received checksum. Check data length against + claimed length in header. + Always use ntoh.. when accessing addresses, even when the + comparison happens to be endian-safe. + (send_packet) minor style isues. Use + sockopt_iphdrincl_swab_htosys. + (irdp_iph_hton/ntoh) IP header to/from network/host order. + 2004-10-03 Gilad Arnold <gilad.arnold at terayon.com> * interface.c, interface.h: A new prefix tree of connected subnets is |