Date: Sun, 05 May 1996 10:38:55 +0000 From: Igor Vinokurov <igor@cs.ibank.ru> To: ports@freebsd.org Cc: igor@escape.cs.ibank.ru Subject: [Fwd: Re: trafshow] Message-ID: <318C853F.794BDF32@cs.ibank.ru>
next in thread | raw e-mail | index | archive | help
Return-Path: igor@cs.ibank.ru Received: from radix.cs.ibank.ru (radix.cs.ibank.ru [194.58.131.140]) by escape.cs.ibank.ru (8.7.5/8.6.12) with SMTP id OAA05132; Sun, 5 May 1996 14:29:07 +0400 (MSD) Sender: igor@cs.ibank.ru Message-ID: <318C8361.167EB0E7@cs.ibank.ru> Date: Sun, 05 May 1996 10:30:57 +0000 From: Igor Vinokurov <igor@cs.ibank.ru> Organization: Zynaps Undernet X-Mailer: Mozilla 2.01 (X11; I; FreeBSD 2.1.0-RELEASE i386) MIME-Version: 1.0 To: Eric Chet <ec0@s1.GANet.NET> Subject: Re: trafshow References: <Pine.SOL.3.91.960501143627.28446A-100000@s1> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mozilla-Status: 0011 Eric Chet wrote: > In file trafshow/lib/interfaces.c the sizeof(struct ppp_header) dies > because ppp_header is undefined. At -current? May be. It works correctly in the 2.1R version. At least for me (2.1R) the trafshow is compiling without errors. > The only place in /usr/include/net > that ppp_header is definded is if_spppsubr.c. I just copied: > struct ppp_header { > u_char address; > u_char control; > u_short protocol; > }; > > ... to the top of interfaces.c and trafshow built fine. Thanks for your hint. But this is not exactly an elegant way. Jordan suggests to use PPP_HDRLEN, and I tend to agree with his. Check out the ports-current now. You will find there the correct port, which is supposed to work everythere :) > BTW: -current > > Eric J. Chet (ejc@nasvr1.cb.att.com || ec0@ganet.net) > Lucent Technologies, Bell Labs Innovations Thanks anyway, Eric.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?318C853F.794BDF32>