diff options
author | bz <bz@FreeBSD.org> | 2010-12-31 21:20:32 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2010-12-31 21:20:32 +0000 |
commit | 2a04b52e8a1dac2486826b340198915f0318482d (patch) | |
tree | 390821fd896f97da1c3aed374a98015eebb0e3be /sys/net | |
parent | 558c7e035b5d3c57795d7fc68e2e154764bd122c (diff) | |
download | FreeBSD-src-2a04b52e8a1dac2486826b340198915f0318482d.zip FreeBSD-src-2a04b52e8a1dac2486826b340198915f0318482d.tar.gz |
Print the vnet pointer under DDB when iterating over flowtables of each
virtual network stack instance.
Sponsored by: ISPsystem [1]
Reviewed by: julian [1]
MFC after: 1 week
[1] Early 2010.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/flowtable.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net/flowtable.c b/sys/net/flowtable.c index e95e5b7..1ba07f9 100644 --- a/sys/net/flowtable.c +++ b/sys/net/flowtable.c @@ -1809,6 +1809,9 @@ DB_SHOW_COMMAND(flowtables, db_show_flowtables) VNET_FOREACH(vnet_iter) { CURVNET_SET(vnet_iter); +#ifdef VIMAGE + db_printf("vnet %p\n", vnet_iter); +#endif flowtable_show_vnet(); CURVNET_RESTORE(); } |