vty: Fix the up/down of the MSC link
This commit is contained in:
parent
8b997bb456
commit
4c8ddb356c
|
@ -356,7 +356,7 @@ DEFUN(show_msc, show_msc_cmd,
|
||||||
SHOW_STR "Display the status of the MSC\n")
|
SHOW_STR "Display the status of the MSC\n")
|
||||||
{
|
{
|
||||||
vty_out(vty, "MSC link is %s and had %s.%s",
|
vty_out(vty, "MSC link is %s and had %s.%s",
|
||||||
bsc.msc_link_down == 0 ? "down" : "up",
|
bsc.msc_link_down == 0 ? "up" : "down",
|
||||||
bsc.first_contact == 1 ? "no contact" : "contact",
|
bsc.first_contact == 1 ? "no contact" : "contact",
|
||||||
VTY_NEWLINE);
|
VTY_NEWLINE);
|
||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
|
|
Reference in New Issue