summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-10 22:40:17 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-10 22:40:17 +0000
commitbc5e5e87485f65403810d2600e8c7f6d796ffa5c (patch)
treef4cdb130dfa3e6d2412c9d62e1ec9e2acbd8a6a9 /sys/net
parent817b8607a621870fc7bce0aa55d3007e0ad0b73f (diff)
Typos.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_gif.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c
index ec6ec260117..e754df55db6 100644
--- a/sys/net/if_gif.c
+++ b/sys/net/if_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gif.c,v 1.3 2000/01/09 19:23:49 angelos Exp $ */
+/* $OpenBSD: if_gif.c,v 1.4 2000/01/10 22:40:16 angelos Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -104,6 +104,7 @@ gifattach(dummy)
sc->gif_if.if_output = gif_output;
sc->gif_if.if_type = IFT_GIF;
if_attach(&sc->gif_if);
+
#if NBPFILTER > 0
bpfattach(&sc->gif_if.if_bpf, &sc->gif_if, DLT_NULL,
sizeof(u_int));
@@ -225,7 +226,7 @@ gif_input(m, af, gifp)
m0.m_next = m;
m0.m_len = 4;
- m0.m_data = (char *)&af;
+ m0.m_data = (char *) &af;
bpf_mtap(gifp->if_bpf, &m0);
}
@@ -269,7 +270,8 @@ gif_input(m, af, gifp)
return;
}
IF_ENQUEUE(ifq, m);
- /* we need schednetisr since the address family may change */
+
+ /* We need schednetisr since the address family may change */
schednetisr(isr);
gifp->if_ipackets++;
gifp->if_ibytes += m->m_pkthdr.len;