aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/common_vty.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-15 23:28:49 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-15 23:46:03 +0800
commit47b2601e01def1f6947b517fe2f27580433200c6 (patch)
tree9090b26b6d8f546d094352ccc2dfc35f9c77bb4d /openbsc/src/common_vty.c
parent13046202ebb060c31c8470ca3d49d383cc135352 (diff)
bsc: Register a new MSC group with data for the MSC connection
This group contains everything that is related to the MSC connections.
Diffstat (limited to 'openbsc/src/common_vty.c')
-rw-r--r--openbsc/src/common_vty.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/src/common_vty.c b/openbsc/src/common_vty.c
index b2a394fc3..72d5163d8 100644
--- a/openbsc/src/common_vty.c
+++ b/openbsc/src/common_vty.c
@@ -83,6 +83,9 @@ enum node_type bsc_vty_go_parent(struct vty *vty)
vty->index = bsc_config->nat;
}
break;
+ case MSC_NODE:
+ vty->node = GSMNET_NODE;
+ break;
default:
vty->node = CONFIG_NODE;
}
@@ -147,6 +150,9 @@ gDEFUN(ournode_exit,
talloc_free(vty->index);
vty->index = NULL;
break;
+ case MSC_NODE:
+ vty->node = GSMNET_NODE;
+ break;
default:
break;
}
@@ -174,6 +180,7 @@ gDEFUN(ournode_end,
case VTY_NODE:
case NAT_NODE:
case NAT_BSC_NODE:
+ case MSC_NODE:
vty_config_unlock(vty);
vty->node = ENABLE_NODE;
vty->index = NULL;