aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat_vty.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-16 16:52:20 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:13 +0800
commitd1278c1fc92d0ad8742cfe15446cae527247f302 (patch)
tree1bbf431207ac17a760c9bbc5e903bfd6ad2b44ec /openbsc/src/nat/bsc_nat_vty.c
parent8bdcf55b220f2ee7c192100458c2b74b4e62305a (diff)
nat: Two fixes for the write memory case...
Add new BSCs to the tail so we keep the sort order when writing them out to the vty, fix the LAC command.
Diffstat (limited to 'openbsc/src/nat/bsc_nat_vty.c')
-rw-r--r--openbsc/src/nat/bsc_nat_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c
index 4571d5b28..f0adfaaeb 100644
--- a/openbsc/src/nat/bsc_nat_vty.c
+++ b/openbsc/src/nat/bsc_nat_vty.c
@@ -62,7 +62,7 @@ static void config_write_bsc_single(struct vty *vty, struct bsc_config *bsc)
{
vty_out(vty, " bsc %u%s", bsc->nr, VTY_NEWLINE);
vty_out(vty, " token %s%s", bsc->token, VTY_NEWLINE);
- vty_out(vty, " lac %u%s", bsc->lac, VTY_NEWLINE);
+ vty_out(vty, " location_area_code %u%s", bsc->lac, VTY_NEWLINE);
if (bsc->imsi_allow)
vty_out(vty, " imsi allow %s%s", bsc->imsi_allow, VTY_NEWLINE);
if (bsc->imsi_deny)