diff options
author | Erwin Nindl <nine@wirdorange.org> | 2008-02-29 14:29:00 +0000 |
---|---|---|
committer | Erwin Nindl <nine@wirdorange.org> | 2008-02-29 14:29:00 +0000 |
commit | 23acebd364d21086d73e2cf5fcb6f23a9d6eddcb (patch) | |
tree | 09fa7bcb4435be41c7dfb5b2aac20e3c9f26be17 /anytun-showtables.cpp | |
parent | routing (diff) |
output route on anytun-showtables;
cl option to anyctr
Diffstat (limited to 'anytun-showtables.cpp')
-rw-r--r-- | anytun-showtables.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/anytun-showtables.cpp b/anytun-showtables.cpp index 830f535..8e5929f 100644 --- a/anytun-showtables.cpp +++ b/anytun-showtables.cpp @@ -54,7 +54,7 @@ void output(ConnectionList & cl) { ConnectionMap::iterator it = cl.getBeginUnlocked(); mux_t mux = it->first; - std::cout << "mux: " << mux << std::endl; + std::cout << "Mux-ID: " << mux << std::endl; ConnectionParam &conn( it->second ); std::cout << "Keyderivation-Type: " << conn.kd_.printType() << std::endl; } @@ -62,7 +62,9 @@ void output(ConnectionList & cl) { RoutingMap::iterator it = gRoutingTable.getBeginUnlocked(); NetworkPrefix pref( it->first ); + std::cout << "Network-Prefix: " << pref.getNetworkPrefixLength() << std::endl; mux_t mux = it->second; + std::cout << "Mux-ID: " << mux << std::endl; } std::cout << std::endl; } |