Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/9772 )

Change subject: Rename bsc_msg_acc_lst_vty_init to have more uniform prefix
......................................................................

Rename bsc_msg_acc_lst_vty_init to have more uniform prefix

Back-port from osmo-bsc.git a0f1196eda79de0e838b29eb91d9f31839f2f447.

Change-Id: I519fb945a99206dff6c4aeb476d527e632b7e751
---
M openbsc/include/openbsc/bsc_msg_filter.h
M openbsc/src/libfilter/bsc_msg_vty.c
M openbsc/src/osmo-bsc/osmo_bsc_main.c
M openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
4 files changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/openbsc/include/openbsc/bsc_msg_filter.h 
b/openbsc/include/openbsc/bsc_msg_filter.h
index a9dedf4..dc971a4 100644
--- a/openbsc/include/openbsc/bsc_msg_filter.h
+++ b/openbsc/include/openbsc/bsc_msg_filter.h
@@ -103,5 +103,5 @@
 struct bsc_msg_acc_lst_entry *bsc_msg_acc_lst_entry_create(struct 
bsc_msg_acc_lst *);
 int bsc_msg_acc_lst_check_allow(struct bsc_msg_acc_lst *lst, const char *imsi);

-void bsc_msg_lst_vty_init(void *ctx, struct llist_head *lst, int node);
+void bsc_msg_acc_lst_vty_init(void *ctx, struct llist_head *lst, int node);
 void bsc_msg_acc_lst_write(struct vty *vty, struct bsc_msg_acc_lst *lst);
diff --git a/openbsc/src/libfilter/bsc_msg_vty.c 
b/openbsc/src/libfilter/bsc_msg_vty.c
index c342fdc..06f3876 100644
--- a/openbsc/src/libfilter/bsc_msg_vty.c
+++ b/openbsc/src/libfilter/bsc_msg_vty.c
@@ -127,7 +127,7 @@
        }
 }

-void bsc_msg_lst_vty_init(void *ctx, struct llist_head *lst, int node)
+void bsc_msg_acc_lst_vty_init(void *ctx, struct llist_head *lst, int node)
 {
        _ctx = ctx;
        _acc_lst = lst;
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_main.c 
b/openbsc/src/osmo-bsc/osmo_bsc_main.c
index e081fe9..cc18c14 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_main.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_main.c
@@ -220,7 +220,7 @@
        vty_info.copyright = openbsc_copyright;
        vty_init(&vty_info);
        bsc_vty_init(bsc_gsmnet);
-       bsc_msg_lst_vty_init(tall_bsc_ctx, &access_lists, BSC_NODE);
+       bsc_msg_acc_lst_vty_init(tall_bsc_ctx, &access_lists, BSC_NODE);
        ctrl_vty_init(tall_bsc_ctx);

        /* parse options */
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c 
b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
index 920c8d7..7ddcb57 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
@@ -1356,7 +1356,7 @@
        install_element(NAT_NODE, &cfg_nat_ussd_local_cmd);
        install_element(NAT_NODE, &cfg_nat_use_ipa_for_mgcp_cmd);

-       bsc_msg_lst_vty_init(nat, &nat->access_lists, NAT_NODE);
+       bsc_msg_acc_lst_vty_init(nat, &nat->access_lists, NAT_NODE);

        /* number rewriting */
        install_element(NAT_NODE, &cfg_nat_number_rewrite_cmd);

--
To view, visit https://gerrit.osmocom.org/9772
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I519fb945a99206dff6c4aeb476d527e632b7e751
Gerrit-Change-Number: 9772
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to