From 7216466aecd59e675a4f66d6e329e748f32ad690 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 5 Oct 2004 14:39:43 +0000 Subject: 2004-10-05 Paul Jakma * 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. --- zebra/ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'zebra/ChangeLog') 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 + + * 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 * interface.c, interface.h: A new prefix tree of connected subnets is -- cgit v1.2.1