summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_lmc.c
diff options
context:
space:
mode:
authorCan Erkin Acar <canacar@cvs.openbsd.org>2004-11-28 23:39:46 +0000
committerCan Erkin Acar <canacar@cvs.openbsd.org>2004-11-28 23:39:46 +0000
commit21bc148fb19bda21c314e0e1f9b34eac9a13cc8a (patch)
treea94aa3b32a2e9452fd7636a18a0d69f0b47c8525 /sys/dev/pci/if_lmc.c
parent9b02e944d8a1968fe39ff654b9f987ed838daed2 (diff)
In kernel pppoe client, a simple IPv4 only implementation.
Initial porting from NetBSD by David Berghoff. Modified/simplified to match our sppp implementation. ok deraadt@
Diffstat (limited to 'sys/dev/pci/if_lmc.c')
-rw-r--r--sys/dev/pci/if_lmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_lmc.c b/sys/dev/pci/if_lmc.c
index f974de08dc9..6399154f598 100644
--- a/sys/dev/pci/if_lmc.c
+++ b/sys/dev/pci/if_lmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lmc.c,v 1.17 2004/05/12 06:35:11 tedu Exp $ */
+/* $OpenBSD: if_lmc.c,v 1.18 2004/11/28 23:39:45 canacar Exp $ */
/* $NetBSD: if_lmc.c,v 1.1 1999/03/25 03:32:43 explorer Exp $ */
/*-
@@ -1451,6 +1451,7 @@ lmc_attach(lmc_softc_t * const sc)
#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
sppp_attach((struct ifnet *)&sc->lmc_sppp);
sc->lmc_sppp.pp_flags = PP_CISCO | PP_KEEPALIVE;
+ sc->lmc_sppp.pp_framebytes = 3;
#endif
#if defined(__bsdi__)
sc->lmc_p2pcom.p2p_mdmctl = lmc_mdmctl;