diff options
| author | Paul Traina <pst@FreeBSD.org> | 1995-04-26 18:10:58 +0000 |
|---|---|---|
| committer | Paul Traina <pst@FreeBSD.org> | 1995-04-26 18:10:58 +0000 |
| commit | f5fea3ddc9727dd4948cabafd178801ab6630c17 (patch) | |
| tree | 1e8321bb9cb38240fa0ad1fef8d725457a725bb8 /sys/netiso | |
| parent | ef6304d8c61046d6278d63e8955b2a2812ae1743 (diff) | |
Notes
Diffstat (limited to 'sys/netiso')
| -rw-r--r-- | sys/netiso/if_eon.c | 7 | ||||
| -rw-r--r-- | sys/netiso/iso.c | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/sys/netiso/if_eon.c b/sys/netiso/if_eon.c index 75e926482977..a7cba8e6a747 100644 --- a/sys/netiso/if_eon.c +++ b/sys/netiso/if_eon.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_eon.c 8.1 (Berkeley) 6/10/93 - * $Id$ + * $Id: if_eon.c,v 1.2 1994/08/02 07:50:23 davidg Exp $ */ /*********************************************************** @@ -61,7 +61,7 @@ SOFTWARE. * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison */ /* - * $Header: /home/ncvs/src/sys/netiso/if_eon.c,v 1.1.1.1 1994/05/24 10:07:13 rgrimes Exp $ + * $Header: /home/ncvs/src/sys/netiso/if_eon.c,v 1.2 1994/08/02 07:50:23 davidg Exp $ * $Source: /home/ncvs/src/sys/netiso/if_eon.c,v $ * * EON rfc @@ -108,7 +108,6 @@ SOFTWARE. #include <netiso/eonvar.h> extern struct timeval time; -extern struct ifnet loif; #define EOK 0 @@ -286,7 +285,7 @@ register struct sockaddr *gate; case RTM_ADD: case RTM_RESOLVE: - rt->rt_rmx.rmx_mtu = loif.if_mtu; /* unless better below */ + rt->rt_rmx.rmx_mtu = loif->if_mtu; /* unless better below */ R_Malloc(el, struct eon_llinfo *, sizeof(*el)); rt->rt_llinfo = (caddr_t)el; if (el == 0) diff --git a/sys/netiso/iso.c b/sys/netiso/iso.c index 922947fc59e0..ce2a573ab6f9 100644 --- a/sys/netiso/iso.c +++ b/sys/netiso/iso.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)iso.c 8.2 (Berkeley) 11/15/93 - * $Id$ + * $Id: iso.c,v 1.2 1994/08/02 07:50:26 davidg Exp $ */ /*********************************************************** @@ -61,7 +61,7 @@ SOFTWARE. * ARGO Project, Computer Sciences Dept., University of Wisconsin - Madison */ /* - * $Header: /home/ncvs/src/sys/netiso/iso.c,v 1.1.1.1 1994/05/24 10:07:13 rgrimes Exp $ + * $Header: /home/ncvs/src/sys/netiso/iso.c,v 1.2 1994/08/02 07:50:26 davidg Exp $ * $Source: /home/ncvs/src/sys/netiso/iso.c,v $ * * iso.c: miscellaneous routines to support the iso address family @@ -93,7 +93,6 @@ SOFTWARE. #ifdef ISO int iso_interfaces = 0; /* number of external interfaces */ -extern struct ifnet loif; /* loopback interface */ int ether_output(); void llc_rtrequest(); @@ -480,7 +479,7 @@ iso_control(so, cmd, data, ifp) ia->ia_ifa.ifa_netmask = (struct sockaddr *)&ia->ia_sockmask; ia->ia_ifp = ifp; - if (ifp != &loif) + if (!(ifp->if_flags & IFF_LOOPBACK)) iso_interfaces++; } break; |
