summaryrefslogtreecommitdiff
path: root/ospfd/ospf_dump.h
diff options
context:
space:
mode:
authorpaul <paul>2004-10-11 10:11:25 +0000
committerpaul <paul>2004-10-11 10:11:25 +0000
commit6b33361187feeb8c9c257ec149b4f75238af6c48 (patch)
tree41f383954c59ad166991014834e0dbe43639e345 /ospfd/ospf_dump.h
parent9076fbd333cbd39b0fae7848de533dfe376af7fe (diff)
2004-10-11 Paul Jakma <paul@dishone.st>
* 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.
Diffstat (limited to 'ospfd/ospf_dump.h')
-rw-r--r--ospfd/ospf_dump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_dump.h b/ospfd/ospf_dump.h
index 5f625ca8..50e61e62 100644
--- a/ospfd/ospf_dump.h
+++ b/ospfd/ospf_dump.h
@@ -131,7 +131,7 @@ const char *ospf_if_name_string (struct ospf_interface *);
void ospf_nbr_state_message (struct ospf_neighbor *, char *, size_t);
char *ospf_options_dump (u_char);
const char *ospf_timer_dump (struct thread *, char *, size_t);
-void ospf_ip_header_dump (struct stream *);
+void ospf_ip_header_dump (struct ip *);
void ospf_packet_dump (struct stream *);
void ospf_lsa_header_dump (struct lsa_header *);
void debug_init ();