This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
show_network_tables doesn't show host routes
- From: Matt Jerdonek <maj1224 at yahoo dot com>
- To: Discussion eCos <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 24 Mar 2004 15:45:51 -0800 (PST)
- Subject: [ECOS] 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