diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-05-29 13:54:27 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-06-09 08:49:36 +0000 |
commit | 4a824ca8fcf13427d1560b2c866da2a2d82e3692 (patch) | |
tree | 9b85a739ddca384e56959a9bdfe0586d8e987148 /openbsc/src/osmo-bsc_nat/bsc_nat_utils.c | |
parent | aef68387ae6d78df948a6b2b3a61050c4f192c5e (diff) |
don't re-implement osmo_talloc_replace_string()
osmo_talloc_replace_string() was introducd into libosmocore in 2014, see
commit f3c7e85d05f7b2b7bf093162b776f71b2bc6420d
There's no reason for us to re-implement this as bsc_replace_string
here.
Change-Id: I6d2fcaabbc74730f6f491a2b2d5c784ccafc6602
Diffstat (limited to 'openbsc/src/osmo-bsc_nat/bsc_nat_utils.c')
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_nat_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c b/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c index bb0f4c4a6..c12b29f1f 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c +++ b/openbsc/src/osmo-bsc_nat/bsc_nat_utils.c @@ -139,7 +139,7 @@ void bsc_nat_free(struct bsc_nat *nat) void bsc_nat_set_msc_ip(struct bsc_nat *nat, const char *ip) { - bsc_replace_string(nat, &nat->main_dest->ip, ip); + osmo_talloc_replace_string(nat, &nat->main_dest->ip, ip); } struct bsc_connection *bsc_connection_alloc(struct bsc_nat *nat) |