From 6898663d760593141b941ef631b96d31ad94609b Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Tue, 11 Jan 2000 02:15:38 +0000 Subject: Remove ipx_interface. --- sys/netipx/ipx.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'sys/netipx') diff --git a/sys/netipx/ipx.c b/sys/netipx/ipx.c index 2f125d29da0..3fe40fd2816 100644 --- a/sys/netipx/ipx.c +++ b/sys/netipx/ipx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipx.c,v 1.4 2000/01/11 01:26:20 fgsch Exp $ */ +/* $OpenBSD: ipx.c,v 1.5 2000/01/11 02:15:37 fgsch Exp $ */ /*- * @@ -56,8 +56,6 @@ #include #include -int ipx_interfaces; - /* * Generic internet control operations (ioctl's). */ @@ -124,7 +122,6 @@ ipx_control(so, cmd, data, ifp) ia->ia_broadaddr.sipx_len = sizeof(ia->ia_addr); ia->ia_broadaddr.sipx_addr.ipx_host = ipx_broadhost; } - ipx_interfaces++; } break; @@ -183,12 +180,6 @@ ipx_control(so, cmd, data, ifp) TAILQ_REMOVE(&ifp->if_addrlist, (struct ifaddr *)ia, ifa_list); TAILQ_REMOVE(&ipx_ifaddr, ia, ia_list); IFAFREE((&ia->ia_ifa)); - if (0 == --ipx_interfaces) { - /* - * We reset to virginity and start all over again - */ - ipx_thishost = ipx_zerohost; - } return (0); case SIOCAIFADDR: -- cgit v1.2.3