vty: Fix BSC_NODE prompt string

Change '%s(bsc)#' to '%s(config-bsc)# '. The missing trailing blank
breaks osmopy's VTYInteract.command() because the blank is contained
in the end patterns which are checked to decide whether to leave the
select loop. Thus trying to execute the 'bsc' command there blocks
the test script forever.
This commit is contained in:
Jacob Erlbeck 2013-08-30 18:33:58 +02:00 committed by Holger Hans Peter Freyther
parent 97e139f267
commit 0b4f1b9e75
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ static struct osmo_msc_data *osmo_msc_data(struct vty *vty)
static struct cmd_node bsc_node = {
BSC_NODE,
"%s(bsc)#",
"%s(config-bsc)# ",
1,
};