Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 1999 09:47:53 +1100
From:      Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
To:        des@flood.ping.uio.no
Cc:        current@FreeBSD.ORG
Subject:   Re: NIS woes
Message-ID:  <99Feb8.093744est.40330@border.alcanet.com.au>

next in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav <des@flood.ping.uio.no> 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 *)&af;
 
-		    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 *)&af;
 
-			    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Feb8.093744est.40330>