summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-05-23 22:28:19 +0000
committerBrian Somers <brian@FreeBSD.org>1998-05-23 22:28:19 +0000
commitd4156d002c5ca2e9ed8b9616b58b9740e52c966c (patch)
tree4ab2a72df038cdf2e18bcb403fb6afad2904ec4b
parent0438ce3a88e8729e7d0cca8da5ac794397af3015 (diff)
Notes
-rw-r--r--usr.sbin/ppp/bundle.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c
index d32ad7182048..047a4636fc09 100644
--- a/usr.sbin/ppp/bundle.c
+++ b/usr.sbin/ppp/bundle.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: bundle.c,v 1.4 1998/05/23 22:24:27 brian Exp $
+ * $Id: bundle.c,v 1.5 1998/05/23 22:27:53 brian Exp $
*/
#include <sys/types.h>
@@ -1087,9 +1087,10 @@ bundle_ShowLinks(struct cmdargs const *arg)
struct datalink *dl;
for (dl = arg->bundle->links; dl; dl = dl->next) {
- prompt_Printf(arg->prompt, "Name: %s [%s]", dl->name, datalink_State(dl));
+ prompt_Printf(arg->prompt, "Name: %s [%s, %s]",
+ dl->name, mode2Nam(dl->physical->type), datalink_State(dl));
if (dl->physical->link.throughput.rolling && dl->state == DATALINK_OPEN)
- prompt_Printf(arg->prompt, " (weight %d, %d bytes/sec)",
+ prompt_Printf(arg->prompt, " weight %d, %d bytes/sec",
dl->mp.weight,
dl->physical->link.throughput.OctetsPerSecond);
prompt_Printf(arg->prompt, "\n");