aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libcommon
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-06-04 20:22:49 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-09-11 17:47:01 +0200
commit8b902d74cf8b4e3c0fc2642ad144aa0dafd1ac63 (patch)
tree1b9d3d1e17bfad127f62084b4a1a2317c051ded6 /openbsc/src/libcommon
parent8c176cc6ab0358b712fbd54a31aeddf2d583e070 (diff)
bsc: Allow to configure more than one MSC in the VTY
Diffstat (limited to 'openbsc/src/libcommon')
-rw-r--r--openbsc/src/libcommon/common_vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/libcommon/common_vty.c b/openbsc/src/libcommon/common_vty.c
index 5958df287..0fd4f43c1 100644
--- a/openbsc/src/libcommon/common_vty.c
+++ b/openbsc/src/libcommon/common_vty.c
@@ -148,6 +148,7 @@ gDEFUN(ournode_exit,
case GBPROXY_NODE:
case SGSN_NODE:
case NAT_NODE:
+ case BSC_NODE:
vty->node = CONFIG_NODE;
vty->index = NULL;
break;
@@ -195,6 +196,7 @@ gDEFUN(ournode_end,
case PGROUP_NODE:
case MSC_NODE:
case MNCC_INT_NODE:
+ case BSC_NODE:
vty_config_unlock(vty);
vty->node = ENABLE_NODE;
vty->index = NULL;