Mercurial > ecos-v3_0-branch
changeset 1554:db9455d4c719
* src/ecos/support.c (_dumpentry): Don't skip routes which don't
have a netmask. These are seem to be valid host routes.
| author | asl |
|---|---|
| date | Sat, 27 Mar 2004 18:16:03 +0000 |
| parents | 43adf3b81170 |
| children | 19b531ce9689 |
| files | packages/net/bsd_tcpip/current/ChangeLog packages/net/bsd_tcpip/current/src/ecos/support.c |
| diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/net/bsd_tcpip/current/ChangeLog +++ b/packages/net/bsd_tcpip/current/ChangeLog @@ -1,3 +1,8 @@ +2004-03-27 Andrew Lunn <andrew.lunn@ascom.ch> + + * src/ecos/support.c (_dumpentry): Don't skip routes which don't + have a netmask. These are seem to be valid host routes. + 2004-02-18 Jonathan Larmour <jifl@eCosCentric.com> * doc/freebsd.sgml: Import text from openbsd doc about use of __ECOS
--- a/packages/net/bsd_tcpip/current/src/ecos/support.c +++ b/packages/net/bsd_tcpip/current/src/ecos/support.c @@ -1022,9 +1022,6 @@ static int netmask = rt_mask(rt); genmask = rt->rt_genmask; if ((rt->rt_flags & (RTF_UP | RTF_WASCLONED)) == RTF_UP) { - if (netmask == NULL) { - return 0; - } _inet_ntop(dst, addr, sizeof(addr)); (*pr)("%-15s ", addr); if (gate != NULL) {
