diff options
author | wollman <wollman@FreeBSD.org> | 1996-10-11 18:40:48 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1996-10-11 18:40:48 +0000 |
commit | f209180f0870566cb0311cff03704a1a2e89dad7 (patch) | |
tree | 5a272b75d9dcd6d6f7a02cac1fdcd1fda3030c06 /sys | |
parent | c64a5c919a8de48c65ac49117dc76f38a5f13ab0 (diff) | |
download | FreeBSD-src-f209180f0870566cb0311cff03704a1a2e89dad7.zip FreeBSD-src-f209180f0870566cb0311cff03704a1a2e89dad7.tar.gz |
Add primitive link MIB support.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_sl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c index 483613a..28cd048 100644 --- a/sys/net/if_sl.c +++ b/sys/net/if_sl.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_sl.c 8.6 (Berkeley) 2/1/94 - * $Id: if_sl.c,v 1.43 1996/06/12 19:24:01 gpalmer Exp $ + * $Id: if_sl.c,v 1.44 1996/06/24 21:56:39 gpalmer Exp $ */ /* @@ -224,6 +224,8 @@ slattach(dummy) sc->sc_if.if_output = sloutput; sc->sc_if.if_snd.ifq_maxlen = 50; sc->sc_fastq.ifq_maxlen = 32; + sc->sc_if.if_linkmib = sc; + sc->sc_if.if_linkmiblen = sizeof *sc; if_attach(&sc->sc_if); #if NBPFILTER > 0 bpfattach(&sc->sc_if, DLT_SLIP, SLIP_HDRLEN); |