Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2001 15:50:02 -0800 (PST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/31920: sniffit does not detect packets on some interfaces
Message-ID:  <200112032350.fB3No2D77791@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/31920; it has been noted by GNATS.

From: Edwin Groothuis <edwin@mavetju.org>
To: freebsd-gnats-submit@freebsd.org
Cc: Pete Fritchman <petef@databits.net>
Subject: Re: ports/31920: sniffit does not detect packets on some interfaces
Date: Tue, 4 Dec 2001 10:42:36 +1100

 Please apply this patch so that the amount of files in sniffit/files/
 stays at three. It also bumps the revision up with one. Thanks for
 letting me maintain this one.
 
 --- sniffit.old/Makefile	Tue Dec  4 10:26:17 2001
 +++ sniffit/Makefile	Tue Dec  4 10:13:36 2001
 @@ -8,6 +8,7 @@
  
  PORTNAME=	sniffit
  PORTVERSION=	0.3.7b
 +PORTREVISION=	1
  CATEGORIES=	net security
  MASTER_SITES=	http://reptile.rug.ac.be/~coder/sniffit/files/  \
  		${MASTER_SITE_LOCAL}
 diff -ru sniffit.old/files/patch-03 sniffit/files/patch-03
 --- sniffit.old/files/patch-03	Tue Dec  4 10:13:07 2001
 +++ sniffit/files/patch-03	Tue Dec  4 10:20:27 2001
 @@ -1,13 +1,15 @@
 ---- sn_data.h.orig	Sun Aug 16 23:29:35 1998
 -+++ sn_data.h	Sun Aug 16 23:30:48 1998
 -@@ -38,8 +38,8 @@
 +--- sn_data.h.orig	Tue Dec  4 10:16:59 2001
 ++++ sn_data.h	Tue Dec  4 10:20:02 2001
 +@@ -38,9 +38,9 @@
   char *NETDEV[]={"ppp","ed"};		
   int HEADSIZE[]={4    ,14}; 
   */
  -#define NETDEV_NR      1
  -char *NETDEV[]={"ed"};		
 +-int HEADSIZE[]={14}; 
  +#define NETDEV_NR      6
 -+char *NETDEV[]={"fxp","de","ed","ppp","tun","lo"};		
 - int HEADSIZE[]={14}; 
 ++char *NETDEV[]={"fxp","de","ed","ppp","tun","lo"};
 ++int HEADSIZE[]={14   ,14  ,14  ,4    ,4    ,4   }; 
   #endif
   
 + #ifdef BSDI				/* ppp: 4 or 0 ? */
 
 -- 
 Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
 edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
 ------------------+                       http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112032350.fB3No2D77791>