summaryrefslogtreecommitdiffstats
path: root/sys/net/if_ethersubr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r--sys/net/if_ethersubr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index 7421541..c4b00a7 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_ethersubr.c 8.1 (Berkeley) 6/10/93
- * $Id: if_ethersubr.c,v 1.17 1996/06/01 23:23:54 gpalmer Exp $
+ * $Id: if_ethersubr.c,v 1.18 1996/06/10 23:07:30 gpalmer Exp $
*/
#include <sys/param.h>
@@ -379,9 +379,11 @@ ether_input(ifp, eh, m)
struct mbuf *m;
{
register struct ifqueue *inq;
- register struct llc *l;
u_short ether_type;
int s;
+#if defined (ISO) || defined (LLC)
+ register struct llc *l;
+#endif
if ((ifp->if_flags & IFF_UP) == 0) {
m_freem(m);
OpenPOWER on IntegriCloud