netstat: Enable use of kvm again

The code committed has some debug information enabled. It ends with
an odd reference to address 0x1.
This commit is contained in:
Joel Sherrill
2012-10-24 15:40:19 -05:00
parent 34e1fb2c5a
commit 5f600ddbed
3 changed files with 10 additions and 7 deletions

View File

@@ -230,6 +230,12 @@ routepr(u_long rtree)
continue;
if (rnh == NULL)
continue;
#ifdef __rtems__
printf( "rnh %p %p\n", (void *)rnhp, (void *)rnh );
/* We get a 1 here on some fields. Why? XXX */
if (rnh == 1)
continue;
#endif
/* Read the rnh data. */
if (kget(rnh, head) != 0)
continue;