summaryrefslogtreecommitdiffstats
path: root/sys/netiso/if_eon.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-05-10 12:31:01 +0000
committerderaadt <deraadt@openbsd.org>1996-05-10 12:31:01 +0000
commit09d901c00137cd7253a32d0af99153adea6fb4cd (patch)
treeb102ded9a192d562503deea757f2b50fb5aef00c /sys/netiso/if_eon.c
parentremove makelinks, when done. (diff)
downloadwireguard-openbsd-09d901c00137cd7253a32d0af99153adea6fb4cd.tar.xz
wireguard-openbsd-09d901c00137cd7253a32d0af99153adea6fb4cd.zip
if_name/if_unit -> if_xname/if_softc
Diffstat (limited to 'sys/netiso/if_eon.c')
-rw-r--r--sys/netiso/if_eon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netiso/if_eon.c b/sys/netiso/if_eon.c
index 26faad42800..223c79c8acc 100644
--- a/sys/netiso/if_eon.c
+++ b/sys/netiso/if_eon.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: if_eon.c,v 1.3 1996/04/21 22:29:23 deraadt Exp $ */
-/* $NetBSD: if_eon.c,v 1.13 1996/04/13 01:34:44 cgd Exp $ */
+/* $OpenBSD: if_eon.c,v 1.4 1996/05/10 12:31:22 deraadt Exp $ */
+/* $NetBSD: if_eon.c,v 1.14 1996/05/07 02:45:10 thorpej Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -142,9 +142,9 @@ eonattach()
printf("eonattach()\n");
}
#endif
- ifp->if_unit = 0;
- ifp->if_name = "eon";
+ sprintf(ifp->if_xname, "eon%d", 0);
ifp->if_mtu = ETHERMTU;
+ ifp->if_softc = NULL;
/* since everything will go out over ether or token ring */
ifp->if_ioctl = eonioctl;