Submitted by: john hay
>From jhay@mikom.csir.co.za Mon Dec 4 09:48:12 1995 Subject: Yet another IPXrouted fix I think these should should make IPXrouted fairly stable. These last problems only showed when we had more than one route of the same cost to a net. This will fix some endless loops in the clone code. John -- John Hay -- John.Hay@csir.co.za
This commit is contained in:
parent
20e33b6b11
commit
f7be969071
@ -35,7 +35,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: output.c,v 1.6 1995/10/11 18:57:22 jhay Exp $
|
* $Id: output.c,v 1.1 1995/10/26 21:28:20 julian Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
@ -166,7 +166,7 @@ supply(dst, flags, ifp)
|
|||||||
crt = rt->rt_clone;
|
crt = rt->rt_clone;
|
||||||
while (crt) {
|
while (crt) {
|
||||||
if (crt->rt_ifp == ifp)
|
if (crt->rt_ifp == ifp)
|
||||||
continue;
|
goto next;
|
||||||
crt = crt->rt_clone;
|
crt = crt->rt_clone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: sap_output.c,v 1.1 1995/10/26 21:28:24 julian Exp $
|
* $Id: sap_output.c,v 1.2 1995/11/13 21:01:34 julian Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -157,7 +157,7 @@ sap_supply(dst, flags, ifp, ServType)
|
|||||||
csap = sap->clone;
|
csap = sap->clone;
|
||||||
while (csap) {
|
while (csap) {
|
||||||
if (csap->ifp == ifp)
|
if (csap->ifp == ifp)
|
||||||
continue;
|
goto next;
|
||||||
csap = csap->clone;
|
csap = csap->clone;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -172,6 +172,7 @@ sap_supply(dst, flags, ifp, ServType)
|
|||||||
*n = sap->sap;
|
*n = sap->sap;
|
||||||
n->hops = htons(metric);
|
n->hops = htons(metric);
|
||||||
n++;
|
n++;
|
||||||
|
next:
|
||||||
}
|
}
|
||||||
if (n != sap_msg->sap) {
|
if (n != sap_msg->sap) {
|
||||||
size = (char *)n - (char *)sap_msg;
|
size = (char *)n - (char *)sap_msg;
|
||||||
|
Loading…
Reference in New Issue
Block a user