enhance: imitate_tcp_packet() support setting tcp options
This commit is contained in:
@@ -288,7 +288,7 @@ static void craft_compare(const struct runtime *rte, const struct packet *raw_pk
|
||||
error_out:
|
||||
char file[256] = {0};
|
||||
snprintf(file, sizeof(file), "craft%lu.pcap", rte->pcap_count);
|
||||
packet_dump(file, new_pkt_data, new_pkt_len);
|
||||
packet_dump_pcap(new_pkt, file);
|
||||
packet_free(new_pkt);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user