www.a00.de > tcpgroup > 1992 > msg00269
 

TCP-group 1992


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RSPF routes show as manual



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





Document URL : http://www.a00.de/tcpgroup/1992/msg00269.php
Ralf D. Kloth, Ludwigsburg, DE (QRQ.software). < hostmaster at a00.de > [don't send spam]
Created 2004-11-12. Last modified 2004-11-12. Your visit 2020-10-21 01:41.34. Page created in 0.0374 sec.
 
[Go to the top of this page]   [... to the index page]