racount fix for FreeBSD

Robin Gruyters r.gruyters at yirdis.nl
Tue Jun 20 03:01:37 EDT 2006


Hi ya,

still one patch to go for racount.c

--- clients/racount.c.orig      Thu Jun  8 20:20:12 2006
+++ clients/racount.c   Tue Jun 20 08:58:06 2006
@@ -174,7 +174,7 @@
           } else {

              printf ("racount   records     total_pkts     src_pkts    
     dst_pkts       total_bytes        src_bytes          dst_bytes\n");
-#if defined(__APPLE_CC__) || defined(__APPLE__)
+#if defined(__APPLE_CC__) || defined(__APPLE__) || defined(__FreeBSD__)
              printf ("    sum   %-11lld %-14lld %-14lld %-14lld  
%-18lld %-18lld %-18lld\n",
  #else
              printf ("    sum   %-11Ld %-14Ld %-14Ld %-14Ld %-18Ld  
%-18Ld %-18Ld\n",

Also the ${INSTALL} -D still exists in Makefile.in for  
argus-3.0.0.rc.10. Please remove it, or tell me what is the idea  
behind the -D option. Because FreeBSD doesn't have it.

Regards,

Robin Gruyters
Network and Security Engineer
Yirdis B.V.
I: http://yirdis.com
P: +31 (0)36 5300394
F: +31 (0)36 5489119



More information about the argus mailing list