aboutsummaryrefslogtreecommitdiff
path: root/net/trafshow3/files
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-11-07 21:33:44 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-11-07 21:33:44 +0000
commitac8911a9d4f375b412a887da6f1743aae5000856 (patch)
tree7cd231b8c88e8a62756f89ffd46b2a212c96c77b /net/trafshow3/files
parent053b2ba3f12e05b857538af127c2cfe58aaa4827 (diff)
downloadports-ac8911a9d4f375b412a887da6f1743aae5000856.tar.gz
ports-ac8911a9d4f375b412a887da6f1743aae5000856.zip
Notes
Diffstat (limited to 'net/trafshow3/files')
-rw-r--r--net/trafshow3/files/patch-trafshow.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/trafshow3/files/patch-trafshow.c b/net/trafshow3/files/patch-trafshow.c
new file mode 100644
index 000000000000..e2db3953903e
--- /dev/null
+++ b/net/trafshow3/files/patch-trafshow.c
@@ -0,0 +1,11 @@
+--- trafshow.c.orig Mon Jul 12 07:20:41 2004
++++ trafshow.c Mon Nov 7 22:25:56 2005
+@@ -305,7 +305,7 @@
+ fprintf(stderr, "%s: %s\n", dp->name, buf);
+ err++;
+ }
+- if (pcap_setnonblock(pd, 1, buf) < 0) {
++ if (pcap_setnonblock(pd, 0, buf) < 0) {
+ fprintf(stderr, "%s: %s\n", dp->name, buf);
+ pcap_close(pd);
+ err++;