Small typo fix to a comment

This commit is contained in:
HD Moore 2013-08-17 14:46:55 -05:00
parent 36564d8bb5
commit c6f21fdeca
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ int json_output_file_ip(ipaddr_n_t saddr, ipaddr_n_t daddr,
json_object_object_add(obj, "proto", json_object_new_string("tcp"));
json_object_object_add(obj, "sport", json_object_new_int(ntohs(tcp->source)));
json_object_object_add(obj, "dport", json_object_new_int(ntohs(tcp->dest)));
// Print these as 64-bit bits to keep the printed value unsigned
// Print these as 64-bit values to keep the text output unsigned
json_object_object_add(obj, "seq", json_object_new_int64(ntohl(tcp->seq)));
json_object_object_add(obj, "ack", json_object_new_int64(ntohl(tcp->ack_seq)));
data_offset = sizeof(struct ethhdr) + ip_hdr->ihl*4 + tcp->doff*4;