aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-08 11:18:26 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-08 11:18:26 +0800
commitd4f7a81992f5b45956a17aefad203ed721aa088b (patch)
treeeec6b5c5398ee8e587d94e0931c66d5aac71df08
parentcd4afce470bc448972359403c0d6a13fced5a0f4 (diff)
nat: Fix the access-list-name command...
We have added two commands with the same name to the tree.. the second one should have been the BSC...
-rw-r--r--openbsc/src/nat/bsc_nat_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c
index 22375a87a..a7478920f 100644
--- a/openbsc/src/nat/bsc_nat_vty.c
+++ b/openbsc/src/nat/bsc_nat_vty.c
@@ -95,7 +95,7 @@ static void config_write_bsc_single(struct vty *vty, struct bsc_config *bsc)
if (bsc->description)
vty_out(vty, " description %s%s", bsc->description, VTY_NEWLINE);
if (bsc->acc_lst_name)
- vty_out(vty, " access-list-name %s%s", bsc->acc_lst_name, VTY_NEWLINE);
+ vty_out(vty, " access-list-name %s%s", bsc->acc_lst_name, VTY_NEWLINE);
}
static int config_write_bsc(struct vty *vty)
@@ -552,7 +552,7 @@ int bsc_nat_vty_init(struct bsc_nat *nat)
install_element(BSC_NODE, &cfg_bsc_lac_cmd);
install_element(BSC_NODE, &cfg_bsc_paging_cmd);
install_element(BSC_NODE, &cfg_bsc_desc_cmd);
- install_element(NAT_NODE, &cfg_bsc_acc_lst_name_cmd);
+ install_element(BSC_NODE, &cfg_bsc_acc_lst_name_cmd);
mgcp_vty_init();