[Iftop-users] mac os x 10.2.6 compile?
Chris Lightfoot
chris at ex-parrot.com
Tue, 26 Aug 2003 00:31:08 +0100
On Mon, Aug 25, 2003 at 03:50:50PM -0700, Siri Dhyan Singh wrote:
> Siri Dhyan Singh wrote:
> >I just applied the patches and it seems to be working fine. I supply a
> >n interface of en0 as its OS X and I'm off and running.
>
> A little more background here. Basically on OS X 10.2.6 (and other BSDs
> I suspect) I'm pulling up a couple of pseudo devices used for tunneling
> which are probably not appropriate as defaults for iftop. Here's a
> little patch. My first code contribution to an open source project - a
> historic moment ;-).
>
> diff -u options.orig options.c
> --- options.orig Mon Aug 25 15:30:26 2003
> +++ options.c Mon Aug 25 15:33:32 2003
> @@ -40,6 +40,8 @@
> static char *bad_interface_names[] = {
> "lo:",
> "lo",
> + "stf", //pseudo-device 6to4 tunnel interface
[ Tiny suggestion: better to use /* ... */ comments in C
programs, since // is not universally supported yet. ]
> + "gif", //psuedo-device generic tunnel interface
> "dummy",
> "vmnet",
> NULL /* last entry must be NULL */
Noted. Many thanks.
--
Hicks Nix Sticks Pix
(headline, in `Variety', July 17 1935)