From 0bf7ecba787380d37947bb1537e2dc3496fd13ee Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 27 Nov 2009 10:20:25 +0100 Subject: [PATCH] src/ros.c: Add information about radio_name and ap/wds to the interface output. --- src/ros.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ros.c b/src/ros.c index 4a2fccb..b7934df 100644 --- a/src/ros.c +++ b/src/ros.c @@ -78,7 +78,9 @@ static void regtable_dump (const ros_registration_table_t *r) /* {{{ */ if (r == NULL) return; - printf ("=== %s ===\n", r->interface); + printf ("=== %s / %s ===\n", r->interface, r->radio_name); + printf ("Mode: %12s\n", + r->ap ? (r->wds ? "AP with WDS" : "Access point") : "Station"); printf ("Rate: %7g Mbps / %7g Mbps\n", r->rx_rate, r->tx_rate); printf ("Packets: %12"PRIu64" / %12"PRIu64"\n", r->rx_packets, r->tx_packets); -- 2.11.0