From 6860c440719f0a2cde89ea18a43e495bfe9177e6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 2 May 2011 19:16:13 +0200 Subject: nat: Create a Paging Group that BSCs can refer to Introduce a paging group that a BSC can refer to and is used during the LAC lookup. This way paging can be flooded through the network and just filtered at the last element in the core. --- openbsc/src/libcommon/common_vty.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'openbsc/src/libcommon/common_vty.c') diff --git a/openbsc/src/libcommon/common_vty.c b/openbsc/src/libcommon/common_vty.c index f14dbca2d..5b4b296cb 100644 --- a/openbsc/src/libcommon/common_vty.c +++ b/openbsc/src/libcommon/common_vty.c @@ -83,6 +83,9 @@ enum node_type bsc_vty_go_parent(struct vty *vty) vty->index = bsc_config->nat; } break; + case PGROUP_NODE: + vty->node = NAT_NODE; + break; case MSC_NODE: vty->node = CONFIG_NODE; break; @@ -139,6 +142,9 @@ gDEFUN(ournode_exit, vty->index = bsc_config->nat; } break; + case PGROUP_NODE: + vty->node = NAT_NODE; + break; case MGCP_NODE: case GBPROXY_NODE: case SGSN_NODE: @@ -189,6 +195,7 @@ gDEFUN(ournode_end, case VTY_NODE: case NAT_NODE: case NAT_BSC_NODE: + case PGROUP_NODE: case MSC_NODE: vty_config_unlock(vty); vty->node = ENABLE_NODE; -- cgit v1.2.3