aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/vty/command.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-07-27 21:00:21 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-07-27 21:01:18 +0800
commitf1bb05fbef79fc4f112f3a9604d2f8e03d0aa652 (patch)
treec94511fea882b6b9e15765af713353a728cf861b /openbsc/src/vty/command.c
parent0c4f7ecabc439bdb9d3d8494be55c0dfba92bf8f (diff)
nat: Remove the nat code from the On-Waves branch... new code is in master
Diffstat (limited to 'openbsc/src/vty/command.c')
-rw-r--r--openbsc/src/vty/command.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/openbsc/src/vty/command.c b/openbsc/src/vty/command.c
index d46a1bedb..310a74e28 100644
--- a/openbsc/src/vty/command.c
+++ b/openbsc/src/vty/command.c
@@ -47,7 +47,6 @@ Boston, MA 02111-1307, USA. */
#include <openbsc/gsm_data.h>
#include <openbsc/gsm_subscriber.h>
-#include <openbsc/bsc_nat.h>
#include <osmocore/talloc.h>
void *tall_vty_cmd_ctx;
@@ -1950,13 +1949,6 @@ enum node_type vty_go_parent(struct vty *vty)
subscr_put(vty->index);
vty->index = NULL;
break;
- case BSC_NODE:
- vty->node = NAT_NODE;
- {
- struct bsc_config *bsc = vty->index;
- vty->index = bsc->nat;
- }
- break;
default:
vty->node = CONFIG_NODE;
}
@@ -2373,14 +2365,6 @@ DEFUN(config_exit,
case MGCP_NODE:
vty->node = CONFIG_NODE;
vty->index = NULL;
- case NAT_NODE:
- vty->node = CONFIG_NODE;
- vty->index = NULL;
- break;
- case BSC_NODE:
- vty->node = NAT_NODE;
- vty->index = NULL;
- break;
default:
break;