diff options
author | Keith <keith@rhizomatica.org> | 2021-05-04 15:12:32 -0500 |
---|---|---|
committer | Keith <keith@rhizomatica.org> | 2021-05-05 14:07:40 -0500 |
commit | df088b0ea93d3d5851ee680ae95afa30a9359730 (patch) | |
tree | a2da01ba7320bc9998932f9ed5e5f3d3ed097738 | |
parent | bbff304e2e93d944e4c4c2a539f5545f547d6b91 (diff) |
Fix up vty 'show' commands for E1 line/timeslots
Change-Id: I6af92ae2808713c74afeecaa1f500443fb2b7795
-rw-r--r-- | src/e1_input_vty.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/e1_input_vty.c b/src/e1_input_vty.c index c392a3b..af30ed9 100644 --- a/src/e1_input_vty.c +++ b/src/e1_input_vty.c @@ -453,7 +453,7 @@ static void e1line_dump_vty(struct vty *vty, struct e1inp_line *line, DEFUN(show_e1line, show_e1line_cmd, - "show e1_line [line_nr] [stats]", + "show e1_line [<0-255>] [stats]", SHOW_STR "Display information about a E1 line\n" "E1 Line Number\n" "Include statistics\n") { @@ -487,13 +487,13 @@ static void e1ts_dump_vty(struct vty *vty, struct e1inp_ts *ts) if (ts->type == E1INP_TS_TYPE_NONE) return; vty_out(vty, "E1 Timeslot %2u of Line %u is Type %s%s", - ts->num, ts->line->num, e1inp_tstype_name(ts->type), + ts->num-1, ts->line->num, e1inp_tstype_name(ts->type), VTY_NEWLINE); } DEFUN(show_e1ts, show_e1ts_cmd, - "show e1_timeslot [line_nr] [ts_nr]", + "show e1_timeslot [<0-255>] [<0-31>]", SHOW_STR "Display information about a E1 timeslot\n" "E1 Line Number\n" "E1 Timeslot Number\n") { |