summaryrefslogtreecommitdiff
path: root/net/hexinject/files/patch-hexinject.c
diff options
context:
space:
mode:
authorPhilippe Audeoud <jadawin@FreeBSD.org>2010-10-25 13:13:41 +0000
committerPhilippe Audeoud <jadawin@FreeBSD.org>2010-10-25 13:13:41 +0000
commitc4d658de2e91d6826215a9eb4b58458a7d97a26f (patch)
tree2eaa99e9990cbf818df2a33acc42f8569b53d3a0 /net/hexinject/files/patch-hexinject.c
parentPatch from sahil: (diff)
HexInject is a very versatile packet injector and sniffer, that provide a
command-line framework for raw network access. It's designed to work together with others command-line utilities, and for this reason it facilitates the creation of powerful shell scripts capable of reading, intercepting and modifying network traffic in a transparent manner. WWW: http://hexinject.sourceforge.net PR: ports/151670 Submitted by: Sofian Brabez <sbrabez at gmail.com>
Diffstat (limited to 'net/hexinject/files/patch-hexinject.c')
-rw-r--r--net/hexinject/files/patch-hexinject.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/hexinject/files/patch-hexinject.c b/net/hexinject/files/patch-hexinject.c
new file mode 100644
index 000000000000..0f1510501617
--- /dev/null
+++ b/net/hexinject/files/patch-hexinject.c
@@ -0,0 +1,11 @@
+--- ./hexinject.c.orig 2010-10-24 06:23:57.000000000 +0200
++++ ./hexinject.c 2010-10-24 06:24:17.000000000 +0200
+@@ -424,7 +424,7 @@
+ if ( (fp = pcap_open_live( options.device, // name of the device
+ BUFSIZ, // portion of the packet to capture
+ 1, // promiscuous mode
+- -1, // read timeout
++ 1000, // read timeout
+ errbuf // error buffer
+ )) == NULL)
+