tcp seq is 32-bits

This commit is contained in:
Eric 2013-09-02 13:28:17 -04:00
parent d44b0f10e4
commit cec225302a

View File

@ -127,7 +127,7 @@ void synscan_process_packet(const u_char *packet,
fs_add_uint64(fs, "sport", (uint64_t) ntohs(tcp->source));
fs_add_uint64(fs, "dport", (uint64_t) ntohs(tcp->dest));
fs_add_uint64(fs, "seqnum", (uint64_t) ntohs(tcp->seq));
fs_add_uint64(fs, "seqnum", (uint64_t) ntohl(tcp->seq));
fs_add_uint64(fs, "acknum", (uint64_t) ntohl(tcp->ack_seq));
fs_add_uint64(fs, "window", (uint64_t) ntohs(tcp->window));