Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Set the data link type to DLT_PPP_SERIAL so that...
details: https://anonhg.NetBSD.org/src/rev/da2fd5b713b8
branches: trunk
changeset: 472878:da2fd5b713b8
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue May 11 02:57:58 1999 +0000
description:
Set the data link type to DLT_PPP_SERIAL so that tcpdump can do
something useful with our captured frames.
diffstat:
sys/dev/pci/if_lmcvar.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 795ef5623d0d -r da2fd5b713b8 sys/dev/pci/if_lmcvar.h
--- a/sys/dev/pci/if_lmcvar.h Tue May 11 02:56:55 1999 +0000
+++ b/sys/dev/pci/if_lmcvar.h Tue May 11 02:57:58 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_lmcvar.h,v 1.1 1999/03/25 03:32:43 explorer Exp $ */
+/* $NetBSD: if_lmcvar.h,v 1.2 1999/05/11 02:57:58 thorpej Exp $ */
/*-
* Copyright (c) 1997-1999 LAN Media Corporation (LMC)
@@ -578,7 +578,7 @@
#if !defined(LMC_BPF_MTAP) && NBPFILTER > 0
#define LMC_BPF_MTAP(sc, m) bpf_mtap((sc)->lmc_bpf, m)
#define LMC_BPF_TAP(sc, p, l) bpf_tap((sc)->lmc_bpf, p, l)
-#define LMC_BPF_ATTACH(sc) bpfattach(&(sc)->lmc_bpf, &(sc)->lmc_sppp.pp_if, DLT_PPP, PPP_HEADER_LEN)
+#define LMC_BPF_ATTACH(sc) bpfattach(&(sc)->lmc_bpf, &(sc)->lmc_sppp.pp_if, DLT_PPP_SERIAL, PPP_HEADER_LEN)
#endif
/*
Home |
Main Index |
Thread Index |
Old Index