summaryrefslogtreecommitdiff
path: root/ospfd/ospf_dump.c
diff options
context:
space:
mode:
authorpaul <paul>2004-10-05 14:39:43 +0000
committerpaul <paul>2004-10-05 14:39:43 +0000
commit7216466aecd59e675a4f66d6e329e748f32ad690 (patch)
treef1fdec0381383aef8b8491008c4337f89c5bc077 /ospfd/ospf_dump.c
parent18b12c387e2bcd8a0e81a8d2635c1ef52c8a9a7d (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 'ospfd/ospf_dump.c')
0 files changed, 0 insertions, 0 deletions