From d4f7a81992f5b45956a17aefad203ed721aa088b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 8 Jun 2010 11:18:26 +0800 Subject: 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... --- openbsc/src/nat/bsc_nat_vty.c | 4 ++-- 1 file 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(); -- cgit v1.2.3