From 23acebd364d21086d73e2cf5fcb6f23a9d6eddcb Mon Sep 17 00:00:00 2001 From: Erwin Nindl Date: Fri, 29 Feb 2008 14:29:00 +0000 Subject: output route on anytun-showtables; cl option to anyctr --- anytun-showtables.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'anytun-showtables.cpp') 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; } -- cgit v1.2.3