diff options
| author | David Greenman <dg@FreeBSD.org> | 1996-06-08 06:14:15 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1996-06-08 06:14:15 +0000 |
| commit | 6bd0628feeec1d14abe9beaf49922deb04bd8328 (patch) | |
| tree | cf1c7b90f218d28339f81913f91b2b0c541b4786 /sys/net | |
| parent | 04edb7a671bbfaddb847011be9e5c00c8c8ce2aa (diff) | |
Notes
Diffstat (limited to 'sys/net')
| -rw-r--r-- | sys/net/bpf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index bb2ea53fb0de..af8330c4c15c 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -37,7 +37,7 @@ * * @(#)bpf.c 8.2 (Berkeley) 3/28/94 * - * $Id: bpf.c,v 1.13 1995/09/22 17:57:45 wollman Exp $ + * $Id: bpf.c,v 1.7.4.4 1995/10/07 12:47:58 davidg Exp $ */ #include "bpfilter.h" @@ -982,6 +982,7 @@ bpf_ifname(ifp, ifr) while (*d++ = *s++) continue; + d--; /* back to the null */ /* XXX Assume that unit number is less than 10. */ *d++ = ifp->if_unit + '0'; *d = '\0'; |
