Subject: sniffit package
To: NetBSD/mac68k <port-mac68k@NetBSD.ORG>
From: SamMaEl <rimsky@teleport.com>
List: port-mac68k
Date: 04/18/1998 15:24:12
	Last night I installed the sniffer package from the package sets,
and it wasn't exactly "out of the box" ;-) I ended up having to add the
following to sn_data.h to get it to compile.

#elif defined(mac68k)
#define ETH_DEV_NR      3
char *ETH_DEV[]={"ae","sn","mc"};

	I also had to #define mac68k in the Makefile, as nothing defined
it. I'm assuming that mac68k isn't/wasn't one of the supported
architectures. i386, sparc and amiga had their own #elif's, and I assume
the ETH_DEV is the device names for the ethernet interface, and ETH_DEV_NR
refers to how many different devices are possible. It compiled after I
added those 3 lines and fixed the Makefile though...

	I haven't had a chance to test it so I don't know how well it
works yet. Is anyone aware of this problem?

	Ryan

-----
HELO... my name is rewt... you have SIGKILLed my father... prepare to vi!