diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-06 00:22:26 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-06 00:22:26 +0000 |
commit | b2ad256d635f41da2c0217f8326a2f7c99ac44eb (patch) | |
tree | 6640bdd1d3a66949fec08460bb6a3fc426921f97 /sys/netiso/if_eon.c | |
parent | a64bc62d54ad86a3b2fa0197206f5e5766d59241 (diff) |
allow changing number of loopbacks in ukc.
change rest of the code to use lo0ifp pointing
to the corresponding struct ifnet.
itojun@ and niklas@ ok
Diffstat (limited to 'sys/netiso/if_eon.c')
-rw-r--r-- | sys/netiso/if_eon.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/netiso/if_eon.c b/sys/netiso/if_eon.c index 1d6a16a1fde..79dca64acb5 100644 --- a/sys/netiso/if_eon.c +++ b/sys/netiso/if_eon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_eon.c,v 1.8 2001/01/19 06:37:38 itojun Exp $ */ +/* $OpenBSD: if_eon.c,v 1.9 2001/02/06 00:22:25 mickey Exp $ */ /* $NetBSD: if_eon.c,v 1.15 1996/05/09 22:29:37 scottr Exp $ */ /*- @@ -109,10 +109,6 @@ SOFTWARE. #include <machine/stdarg.h> -#include "loop.h" - -extern struct ifnet loif[NLOOP]; - extern struct timeval time; #define EOK 0 @@ -299,7 +295,7 @@ eonrtrequest(cmd, rt, info) case RTM_ADD: case RTM_RESOLVE: - rt->rt_rmx.rmx_mtu = loif[0].if_mtu; /* unless better below */ + rt->rt_rmx.rmx_mtu = lo0ifp->if_mtu; /* unless better below */ R_Malloc(el, struct eon_llinfo *, sizeof(*el)); rt->rt_llinfo = (caddr_t) el; if (el == 0) |