diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-06-30 10:44:25 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-06-30 10:45:23 +0200 |
commit | a96ce7ec5c6115823fb6b2ad7944a920ebf16a52 (patch) | |
tree | d8f238dc93cd17023e137e3951cb52102aba3042 /net-analyzer/wireshark/files/wireshark-2.4-androiddump.patch | |
parent | net-misc/chrony: Old. (diff) | |
download | gentoo-a96ce7ec5c6115823fb6b2ad7944a920ebf16a52.tar.gz gentoo-a96ce7ec5c6115823fb6b2ad7944a920ebf16a52.tar.bz2 gentoo-a96ce7ec5c6115823fb6b2ad7944a920ebf16a52.zip |
net-analyzer/wireshark: Version bump.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-analyzer/wireshark/files/wireshark-2.4-androiddump.patch')
-rw-r--r-- | net-analyzer/wireshark/files/wireshark-2.4-androiddump.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net-analyzer/wireshark/files/wireshark-2.4-androiddump.patch b/net-analyzer/wireshark/files/wireshark-2.4-androiddump.patch new file mode 100644 index 000000000000..e67ab21b6a8d --- /dev/null +++ b/net-analyzer/wireshark/files/wireshark-2.4-androiddump.patch @@ -0,0 +1,27 @@ +--- a/extcap/androiddump.c ++++ b/extcap/androiddump.c +@@ -363,13 +363,13 @@ + pcap = pcap_open_dead_with_tstamp_precision(encap_ext, PACKET_LENGTH, PCAP_TSTAMP_PRECISION_NANO); + extcap_dumper.dumper.pcap = pcap_dump_open(pcap, fifo); + if (!extcap_dumper.dumper.pcap) { +- g_warning("Can't open %s for saving packets: %s", pcap_geterr(pcap)); ++ g_warning("Can't open %s for saving packets: %s", fifo, pcap_geterr(pcap)); + pcap_close(pcap); + exit(EXIT_CODE_CANNOT_SAVE_LIBPCAP_DUMP); + } + extcap_dumper.encap = encap; + if (pcap_dump_flush(extcap_dumper.dumper.pcap) == -1) { +- g_warning("Write to %s failed: %s", g_strerror(errno)); ++ g_warning("Write to %s failed: %s", fifo, g_strerror(errno)); + } + #else + int err = 0; +@@ -416,7 +416,7 @@ + + pcap_dump((u_char *) extcap_dumper.dumper.pcap, &pcap_header, buffer); + if (pcap_dump_flush(extcap_dumper.dumper.pcap) == -1) { +- g_warning("Write to %s failed: %s", g_strerror(errno)); ++ g_warning("Write to %s failed: %s", fifo, g_strerror(errno)); + } + #else + int err = 0; |