mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-20 15:29:15 +08:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user