From c1a3bd12af490b3d910b059f1a921a3d7bfd67f6 Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Tue, 25 Dec 2001 19:46:57 +0000 Subject: [PATCH] Support more network interfaces, bump PORTREVISION. PR: 33162 Submitted by: maintainer --- net/sniffit/Makefile | 1 + net/sniffit/files/patch-03 | 12 +++++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/net/sniffit/Makefile b/net/sniffit/Makefile index 305b9aad7384..0c3a7f1a9f96 100644 --- a/net/sniffit/Makefile +++ b/net/sniffit/Makefile @@ -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 --git a/net/sniffit/files/patch-03 b/net/sniffit/files/patch-03 index cdae155e058d..b38614437ce7 100644 --- a/net/sniffit/files/patch-03 +++ b/net/sniffit/files/patch-03 @@ -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 ? */