From: Florian Forster Date: Fri, 27 Nov 2009 09:20:25 +0000 (+0100) Subject: src/ros.c: Add information about radio_name and ap/wds to the interface output. X-Git-Tag: librouteros-0.2.0~3 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=0bf7ecba787380d37947bb1537e2dc3496fd13ee;p=routeros-api.git src/ros.c: Add information about radio_name and ap/wds to the interface output. --- 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);