summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-08-28 13:10:55 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-08-28 13:10:55 +0000
commit022ab2efad31585ed412cfe72f08e584a038bc66 (patch)
treeccaf2f4122f469b5b636f9484617cbbe21b970b5 /sys
parent39f1b52dbf3b03e1e4be90bc78920109bc03ef32 (diff)
Fix a typo in the naming of the PPPoE input queues, ppoe -> pppoe.
ok canacar@
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_ethersubr.c6
-rw-r--r--sys/net/if_pppoe.c14
-rw-r--r--sys/net/if_pppoe.h6
3 files changed, 13 insertions, 13 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index fb928093639..eb89e854ded 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ethersubr.c,v 1.123 2008/08/04 18:55:08 damien Exp $ */
+/* $OpenBSD: if_ethersubr.c,v 1.124 2008/08/28 13:10:54 brad Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */
/*
@@ -714,9 +714,9 @@ decapsulate:
bcopy(eh, eh_tmp, sizeof(struct ether_header));
if (etype == ETHERTYPE_PPPOEDISC)
- inq = &ppoediscinq;
+ inq = &pppoediscinq;
else
- inq = &ppoeinq;
+ inq = &pppoeinq;
schednetisr(NETISR_PPPOE);
break;
diff --git a/sys/net/if_pppoe.c b/sys/net/if_pppoe.c
index f21d2fe9361..985dfc38d5c 100644
--- a/sys/net/if_pppoe.c
+++ b/sys/net/if_pppoe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pppoe.c,v 1.24 2008/08/27 08:41:46 brad Exp $ */
+/* $OpenBSD: if_pppoe.c,v 1.25 2008/08/28 13:10:54 brad Exp $ */
/* $NetBSD: if_pppoe.c,v 1.51 2003/11/28 08:56:48 keihan Exp $ */
/*
@@ -148,8 +148,8 @@ struct pppoe_softc {
};
/* incoming traffic will be queued here */
-struct ifqueue ppoediscinq = { NULL };
-struct ifqueue ppoeinq = { NULL };
+struct ifqueue pppoediscinq = { NULL };
+struct ifqueue pppoeinq = { NULL };
extern int sppp_ioctl(struct ifnet *, unsigned long, void *);
@@ -205,8 +205,8 @@ pppoeattach(int count)
LIST_INIT(&pppoe_softc_list);
if_clone_attach(&pppoe_cloner);
- ppoediscinq.ifq_maxlen = IFQ_MAXLEN;
- ppoeinq.ifq_maxlen = IFQ_MAXLEN;
+ pppoediscinq.ifq_maxlen = IFQ_MAXLEN;
+ pppoeinq.ifq_maxlen = IFQ_MAXLEN;
}
/* Create a new interface. */
@@ -366,7 +366,7 @@ pppoeintr(void)
for (;;) {
s = splnet();
- IF_DEQUEUE(&ppoediscinq, m);
+ IF_DEQUEUE(&pppoediscinq, m);
splx(s);
if (m == NULL)
break;
@@ -375,7 +375,7 @@ pppoeintr(void)
for (;;) {
s = splnet();
- IF_DEQUEUE(&ppoeinq, m);
+ IF_DEQUEUE(&pppoeinq, m);
splx(s);
if (m == NULL)
break;
diff --git a/sys/net/if_pppoe.h b/sys/net/if_pppoe.h
index 102420fc573..8251cf0f369 100644
--- a/sys/net/if_pppoe.h
+++ b/sys/net/if_pppoe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pppoe.h,v 1.4 2008/06/26 05:42:20 ray Exp $ */
+/* $OpenBSD: if_pppoe.h,v 1.5 2008/08/28 13:10:54 brad Exp $ */
/* $NetBSD: if_pppoe.h,v 1.5 2003/11/28 08:56:48 keihan Exp $ */
/*
@@ -66,8 +66,8 @@ struct pppoeconnectionstate {
#ifdef _KERNEL
-extern struct ifqueue ppoediscinq;
-extern struct ifqueue ppoeinq;
+extern struct ifqueue pppoediscinq;
+extern struct ifqueue pppoeinq;
void pppoeintr(void);