[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

tcpdump-3.8.3



If built tcpdump-3.8.3 tonight with the following lame patch:

--- tcpdump-stdinc.horg 2005-02-10 18:33:19.000000000 -0500
+++ tcpdump-stdinc.h    2005-02-10 18:32:40.000000000 -0500
@@ -42,6 +42,10 @@
#ifndef tcpdump_stdinc_h
#define tcpdump_stdinc_h

+#if defined(__GNU__)
+# define MAXHOSTNAMELEN 64
+#endif
+
#ifdef WIN32

#include <stdio.h>


Normally I wouldn't do that for MAXHOSTNAMELEN issues but they already had a section for #ifdef (WIN32) #define MAXHOSTNAMELEN 64 so I figured wtf.

I still am not sure the app works though. When I do a tcpdump or tcpdump -x I get:

tcpdump: getifaddrs: (os/kern) successful

Then back to the prompt..??

Thanks,

--
Barry deFreese
Debian 3.0r1 "Woody"
GNU/Hurd
Registered Linux "Newbie" #302256 - Hurd H4XX0r wannabe

"Programming today is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots. So far, the Universe is
winning." Rich Cook.





Reply to: