summaryrefslogtreecommitdiff
path: root/net/ngrep/files/patch-ngrep.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-12-07 10:43:58 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-12-07 10:43:58 +0000
commit747b5dd95d794be57974c61b84c86606acb0eb40 (patch)
tree65b8cc94c7e033a840715e205255729691040c83 /net/ngrep/files/patch-ngrep.c
parentUpdate to 20061205 snapshot. (diff)
Update to 1.45
v1.45 o fixed bug where setting the snaplen smaller than the minimum necessary to read the full headres would cause garbage to be fed into the pattern matcher o fixed unreported bug in IPv6/TCP packet length calculation o relocated the privilege-dropping routine to be invoked right before entering the packet processing loop, to prevent interference with necessary permissions to read or write dumpfiles/etc. o fixed integer overflow with the snaplen that resulted from an implicit signed/unsigned conversion o minor change to compensate for some broken compiler optimizers o fixed double-free race condition during ngrep termination o reworked packet length calculation in the main processing loop, improving performance and readability o simplified regex build logic in configure and Makefile o updated Win32 version to use config.h for preprocessor definitions instead of the Visual Studio project files, making manual tweaking and config of ngrep for Win32 consistent with *NIX and more obvious o changed third-party Makefiles to properly clean up after themselves o added support for radiotap (IEEE802_11_RADIO) o changed ``-s 0'' invocation to mimic the equivalent of tcpdump
Diffstat (limited to 'net/ngrep/files/patch-ngrep.c')
-rw-r--r--net/ngrep/files/patch-ngrep.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/ngrep/files/patch-ngrep.c b/net/ngrep/files/patch-ngrep.c
deleted file mode 100644
index 42a398ea09d9..000000000000
--- a/net/ngrep/files/patch-ngrep.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- ngrep.c.orig Tue Apr 11 09:20:31 2006
-+++ ngrep.c Tue Apr 11 09:20:59 2006
-@@ -15,6 +15,7 @@
- #include <netinet/in.h>
- #include <netinet/in_systm.h>
- #include <net/if.h>
-+#include <arpa/inet.h>
- #include <sys/tty.h>
- #include <pwd.h>
- #endif