[ECOS] show_network_tables doesn't show host routes

Matt Jerdonek maj1224@yahoo.com
Wed Mar 24 23:45:00 GMT 2004


I'm having trouble getting show_network_tables to
display host routes.  I tracked this down to the
following code in bsd_tcpip\ver\src\ecos\support.c

static int
_dumpentry(struct radix_node *rn, void *vw)
{
    // .... snip ....
    if ((rt->rt_flags & (RTF_UP | RTF_WASCLONED)) ==
RTF_UP) {
        if (netmask == NULL) {
            return 0;
        }
        
It appears as if the netmask is 0, which is the case
for host routes, the route will not be displayed.  Is
this intentional?

Thanks,
-- Matt

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list