diff options
author | jhay <jhay@FreeBSD.org> | 1999-02-06 10:52:21 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 1999-02-06 10:52:21 +0000 |
commit | d742c3c52503a8941ead71d7a68cddf07f1e06de (patch) | |
tree | 463a520372e4456a161618b54c46faf72da5bc6f /usr.sbin/IPXrouted/sap_tables.c | |
parent | 44b567482e8c3da75ed3a19998b014b842e36ad7 (diff) | |
download | FreeBSD-src-d742c3c52503a8941ead71d7a68cddf07f1e06de.zip FreeBSD-src-d742c3c52503a8941ead71d7a68cddf07f1e06de.tar.gz |
Teach IPXrouted to handle the internal net properly.
PR: 9871
Submitted by: Boris Popov <bp@butya.kz>
Diffstat (limited to 'usr.sbin/IPXrouted/sap_tables.c')
-rw-r--r-- | usr.sbin/IPXrouted/sap_tables.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.sbin/IPXrouted/sap_tables.c b/usr.sbin/IPXrouted/sap_tables.c index 863943b..b5b0f7a 100644 --- a/usr.sbin/IPXrouted/sap_tables.c +++ b/usr.sbin/IPXrouted/sap_tables.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sap_tables.c,v 1.4 1997/07/01 00:33:41 bde Exp $ + * $Id: sap_tables.c,v 1.5 1997/07/06 07:38:33 jhay Exp $ */ #include "defs.h" @@ -134,19 +134,6 @@ sap_nearestserver(ushort ServType, struct interface *ifp) for(sap = sh->forw; sap != (sap_entry *)sh; sap = sap->forw) { if (ServType != sap->sap.ServType) continue; - if (ifp == sap->ifp) - continue; - - csap = sap->clone; - while (csap) { - if (ifp == csap->ifp) - /* - * I would have loved to use - * something else here. - */ - goto next; - csap = csap->clone; - } if (ntohs(sap->sap.hops) < besthops) { best = sap; |