This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

show_network_tables doesn't show host routes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]