From owner-freebsd-ports Mon Dec 3 15:50: 7 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1F3D137B416 for ; Mon, 3 Dec 2001 15:50:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fB3No2D77791; Mon, 3 Dec 2001 15:50:02 -0800 (PST) (envelope-from gnats) Date: Mon, 3 Dec 2001 15:50:02 -0800 (PST) Message-Id: <200112032350.fB3No2D77791@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Edwin Groothuis Subject: Re: ports/31920: sniffit does not detect packets on some interfaces Reply-To: Edwin Groothuis Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/31920; it has been noted by GNATS. From: Edwin Groothuis To: freebsd-gnats-submit@freebsd.org Cc: Pete Fritchman 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