From 6b33361187feeb8c9c257ec149b4f75238af6c48 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 11 Oct 2004 10:11:25 +0000 Subject: 2004-10-11 Paul Jakma * ospf_dump.c: (ospf_ip_header_dump) Assume header is in host order remove ntohs that should have dissappeared. Take struct ip as argument, caller has to know there's an IP header at start of stream anyway. * ospf_dump.h: update declaration of ospf_ip_header_dump. * ospf_packet.c: (ospf_write) correct call to sockopt_iphdrincl_swab_htosys which was munging the header. (ospf_recv_packet) ip_len is needed for old OpenBSD fixup. (ospf_read) sockopt_iphdrincl_swab_systoh ip header as soon as we have it. --- ospfd/ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ospfd/ChangeLog') diff --git a/ospfd/ChangeLog b/ospfd/ChangeLog index f326f72f..34bf6405 100644 --- a/ospfd/ChangeLog +++ b/ospfd/ChangeLog @@ -1,3 +1,16 @@ +2004-10-11 Paul Jakma + + * ospf_dump.c: (ospf_ip_header_dump) Assume header is in host order + remove ntohs that should have dissappeared. Take struct ip + as argument, caller has to know there's an IP header at start of + stream anyway. + * ospf_dump.h: update declaration of ospf_ip_header_dump. + * ospf_packet.c: (ospf_write) correct call to + sockopt_iphdrincl_swab_htosys which was munging the header. + (ospf_recv_packet) ip_len is needed for old OpenBSD fixup. + (ospf_read) sockopt_iphdrincl_swab_systoh ip header as soon as + we have it. + 2004-10-08 Hasso Tepper * *.[c|h]: Fix compiler warnings: make some strings const, signed -> -- cgit v1.2.1