summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_sl.c6
-rw-r--r--sys/net/if_strip.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c
index 99ff0783254..2867993bbdc 100644
--- a/sys/net/if_sl.c
+++ b/sys/net/if_sl.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: if_sl.c,v 1.4 1996/05/10 12:31:11 deraadt Exp $ */
-/* $NetBSD: if_sl.c,v 1.39 1996/05/07 02:40:43 thorpej Exp $ */
+/* $OpenBSD: if_sl.c,v 1.5 1996/06/10 07:28:25 deraadt Exp $ */
+/* $NetBSD: if_sl.c,v 1.39.4.1 1996/06/02 16:26:31 thorpej Exp $ */
/*
* Copyright (c) 1987, 1989, 1992, 1993
@@ -202,9 +202,9 @@ slattach()
register int i = 0;
for (sc = sl_softc; i < NSL; sc++) {
+ sc->sc_unit = i; /* XXX */
sprintf(sc->sc_if.if_xname, "sl%d", i++);
sc->sc_if.if_softc = sc;
- sc->sc_unit = i; /* XXX */
sc->sc_if.if_mtu = SLMTU;
sc->sc_if.if_flags =
IFF_POINTOPOINT | SC_AUTOCOMP | IFF_MULTICAST;
diff --git a/sys/net/if_strip.c b/sys/net/if_strip.c
index 7256fdcc4ef..d7abbb11124 100644
--- a/sys/net/if_strip.c
+++ b/sys/net/if_strip.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_strip.c,v 1.2 1996/05/19 22:09:36 jonathan Exp $ */
+/* $NetBSD: if_strip.c,v 1.2.4.1 1996/06/05 23:23:02 thorpej Exp $ */
/* from: NetBSD: if_sl.c,v 1.38 1996/02/13 22:00:23 christos Exp $ */
/*
@@ -314,9 +314,9 @@ stripattach(n)
register int i = 0;
for (sc = st_softc; i < NSTRIP; sc++) {
+ sc->sc_unit = i; /* XXX */
sprintf(sc->sc_if.if_xname, "st%d", i++);
sc->sc_if.if_softc = sc;
- sc->sc_unit = i; /* XXX */
sc->sc_if.if_mtu = SLMTU;
sc->sc_if.if_flags = 0;
sc->sc_if.if_type = IFT_OTHER;