TCP-group 1992
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
RSPF routes show as manual
- To: gvdg@tophat.cdh.cdc.com
- Subject: RSPF routes show as manual
- From: bob@nyssa.wa7ipx.ampr.org (Bob Finch)
- Date: Tue, 4 Feb 92 22:48 PST
In the routing table displayed by the route command, routes added by
RSPF show up as 'man' instead of 'rspf'. This occurs in PA0GRI NOS
1.8b and later.
A patch to fix this in 2.0a follows:
*** OLD/ipcmd.c Tue Jan 21 20:18:24 1992
--- ipcmd.c Tue Feb 4 22:30:06 1992
***************
*** 439,445 ****
tprintf("%-8lu",rp->metric);
tprintf("%c ",(rp->flags & RTPRIVATE) ? 'P' : ' ');
if(rp->timer.state == TIMER_STOP){
! if(rp->timer.duration == 1)tprintf("rspf ");
else tprintf("man ");
} else tprintf("%-7lu",read_timer(&rp->timer) / 1000L);
return tprintf("%lu\n",rp->uses);
--- 439,445 ----
tprintf("%-8lu",rp->metric);
tprintf("%c ",(rp->flags & RTPRIVATE) ? 'P' : ' ');
if(rp->timer.state == TIMER_STOP){
! if(rp->timer.duration == 2)tprintf("rspf ");
else tprintf("man ");
} else tprintf("%-7lu",read_timer(&rp->timer) / 1000L);
return tprintf("%lu\n",rp->uses);
-- Bob