From owner-freebsd-current Sun Feb 7 14:48:11 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA28168 for freebsd-current-outgoing; Sun, 7 Feb 1999 14:48:11 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA28163 for ; Sun, 7 Feb 1999 14:48:09 -0800 (PST) (envelope-from peter.jeremy@auss2.alcatel.com.au) Received: by border.alcanet.com.au id <40330>; Mon, 8 Feb 1999 09:37:44 +1100 Date: Mon, 8 Feb 1999 09:47:53 +1100 From: Peter Jeremy Subject: Re: NIS woes To: des@flood.ping.uio.no Cc: current@FreeBSD.ORG Message-Id: <99Feb8.093744est.40330@border.alcanet.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > Tcpdump does not work on PLIP links, Check out http://www.freebsd.org/cgi/query-pr.cgi?pr=7241 This includes fixes for PLIP in lpt.c, but the code in ppbus/if_plip.c looks virtually the same. Note that lpt.c with Bill Fenner's patch did not compile and needed the following additional patch: --- lpt.c.p1 Sun Jul 12 13:38:17 1998 +++ lpt.c Sun Jul 12 21:26:40 1998 @@ -1123,7 +1123,7 @@ m0.m_len = 4; m0.m_data = (char *)⁡ - bpf_mtap(ifp, &m0); + bpf_mtap(&sc->sc_if, &m0); } #endif IF_ENQUEUE(&ipintrq, top); @@ -1191,7 +1191,7 @@ m0.m_len = 4; m0.m_data = (char *)⁡ - bpf_mtap(ifp, &m0); + bpf_mtap(&sc->sc_if, &m0); } #endif IF_ENQUEUE(&ipintrq, top); [I'm not sure why this PR still shows as `feedback']. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message