diff options
Diffstat (limited to 'net/file2pcap/files/patch-file2pcap.c')
-rw-r--r-- | net/file2pcap/files/patch-file2pcap.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/file2pcap/files/patch-file2pcap.c b/net/file2pcap/files/patch-file2pcap.c new file mode 100644 index 000000000000..2f07ecd0703d --- /dev/null +++ b/net/file2pcap/files/patch-file2pcap.c @@ -0,0 +1,11 @@ +--- file2pcap.c.orig 2019-11-21 15:44:46 UTC ++++ file2pcap.c +@@ -61,6 +61,8 @@ const int packetLen4 = (sizeof(SRC_ETHER)-1 + sizeof(D + const int packetLen6 = (sizeof(SRC_ETHER)-1 + sizeof(DST_ETHER)-1 + sizeof(PROTO_ETHER6)-1 + sizeof(struct ip6_hdr) + sizeof(struct tcphdr)); + + ++struct pcap_packet_header ph; ++unsigned short srcport, dstport; + struct handover hoFtp; + + |