aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_nat
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2011-05-07 13:11:20 +0200
committerPablo Neira Ayuso <pablo@gnumonks.org>2011-05-07 13:15:11 +0200
commitab46cf38d49164e3a99912d534719e63478964ab (patch)
tree46e9f1a17146d491daca981544972769c9740d0e /openbsc/src/osmo-bsc_nat
parentc0d17f22663ba78f1620043316ac7d374ff45b86 (diff)
src: rename msg_entr* to osmo_config_*
Summary of changes: s/msg_entry_parse/osmo_config_list_parse/g s/msg_entry/osmo_config_entry/g s/msg_entries/osmo_config_list/g
Diffstat (limited to 'openbsc/src/osmo-bsc_nat')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat_utils.c2
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat_vty.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c b/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
index 8765f27fb..dd32c752a 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c
@@ -809,7 +809,7 @@ struct msgb *bsc_nat_rewrite_setup(struct bsc_nat *nat, struct msgb *msg, struct
uint8_t msg_type, proto;
unsigned int payload_len;
struct gsm_mncc_number called;
- struct msg_entry *entry;
+ struct osmo_config_entry *entry;
char *new_number = NULL;
struct msgb *out, *sccp;
uint8_t *outptr;
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
index a115fadbf..f56ebb8da 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
@@ -462,7 +462,7 @@ DEFUN(cfg_nat_number_rewrite,
if (_nat->num_rewr_name) {
if (_nat->num_rewr)
talloc_free(_nat->num_rewr);
- _nat->num_rewr = msg_entry_parse(_nat, _nat->num_rewr_name);
+ _nat->num_rewr = osmo_config_list_parse(_nat, _nat->num_rewr_name);
return _nat->num_rewr == NULL ? CMD_WARNING : CMD_SUCCESS;
} else {
if (_nat->num_rewr)