diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-01-11 02:15:38 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-01-11 02:15:38 +0000 |
commit | 6898663d760593141b941ef631b96d31ad94609b (patch) | |
tree | e642504eee5608d2b398fe9ccf5f90633a98bab5 /sys/netipx/ipx.c | |
parent | 3ec643e3c48694e2dded7e11c445a8428ac93efd (diff) |
Remove ipx_interface.
Diffstat (limited to 'sys/netipx/ipx.c')
-rw-r--r-- | sys/netipx/ipx.c | 11 |
1 files changed, 1 insertions, 10 deletions
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 <netipx/ipx.h> #include <netipx/ipx_if.h> -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: |