Show C-Channel ID at VTY

This commit is contained in:
Andreas Eversberg 2023-08-14 14:52:13 +02:00
parent 7da994ebb3
commit a15e53b810
1 changed files with 1 additions and 0 deletions

View File

@ -245,6 +245,7 @@ DEFUN(show_interface, show_interface_cmd,
vty_out(vty, " Secondary link ID: %d%s", v5if->secondary_link->id, VTY_NEWLINE);
if (v5if->cc_link)
vty_out(vty, " Current C-Channel data link ID: %d%s", v5if->cc_link->id, VTY_NEWLINE);
vty_out(vty, " C-Channel ID: %d (only relevant for protection)%s", v5if->protection.cc_id, VTY_NEWLINE);
}
calls = 0;
llist_for_each_entry(v5up, &v5if->user_ports, list) {