diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-08 11:18:26 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-15 20:24:21 +0800 |
commit | 27d36de3b9b12dbd725b6e17d8e558ce5f9ed8c5 (patch) | |
tree | f1d85f7cf2a2d6f4cece96089352d1cdee160e2f /openbsc/src/nat/bsc_nat_vty.c | |
parent | 26c3a358d62f32bd1bc4db774b9db0d9a20dd0e1 (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...
Diffstat (limited to 'openbsc/src/nat/bsc_nat_vty.c')
-rw-r--r-- | openbsc/src/nat/bsc_nat_vty.c | 4 |
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(); |