Group :: Monitoring
RPM: trafshow
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: trafshow-4-linux.patch
Download
Download
--- trafshow-4.0/trafshow.c.orig 2003-12-19 12:08:30 +0300
+++ trafshow-4.0/trafshow.c 2004-02-17 16:21:46 +0300
@@ -89,7 +89,11 @@
localnet = htonl(0x7f000001); /* 127.0.0.1 by default */
netmask = htonl(0xff000000); /* 255.0.0.0 by default */
#endif
+#ifdef linux
+ device_name = "any";
+#else
device_name = NULL;
+#endif
infile = NULL;
if ((cp = (char *)strrchr(argv[0], '/')) != NULL)
program_name = cp + 1;