aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/gbproxy/gbproxy_test.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-04 11:52:52 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-04 11:52:52 +0200
commit7127b0295eed1edea29ea88b352c2cfbff59c610 (patch)
tree5dbcaa6bcbeae16ccad84226a8c400b0b5df071a /openbsc/tests/gbproxy/gbproxy_test.c
parent1ddd9e518e9d2b335249239955174718d35ef6ef (diff)
gprs: Create a gprs_utils file and move to be shared code in there
We intend to move some of these routines to libosmocore but to avoid a feature symbol clash we are prefixing these routines with gprs_. Done with Jacob
Diffstat (limited to 'openbsc/tests/gbproxy/gbproxy_test.c')
-rw-r--r--openbsc/tests/gbproxy/gbproxy_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/tests/gbproxy/gbproxy_test.c b/openbsc/tests/gbproxy/gbproxy_test.c
index 9fceabfb7..0d14d2194 100644
--- a/openbsc/tests/gbproxy/gbproxy_test.c
+++ b/openbsc/tests/gbproxy/gbproxy_test.c
@@ -30,6 +30,7 @@
#include <osmocom/gprs/gprs_bssgp.h>
#include <openbsc/gb_proxy.h>
+#include <openbsc/gprs_utils.h>
#include <openbsc/debug.h>
#define REMOTE_BSS_ADDR 0x01020304
@@ -944,7 +945,7 @@ static void test_gbproxy_ra_patching()
gbcfg.core_mcc = 123;
gbcfg.core_mnc = 456;
gbcfg.core_apn = talloc_zero_size(NULL, 100);
- gbcfg.core_apn_size = gbprox_str_to_apn(gbcfg.core_apn, "foo.bar", 100);
+ gbcfg.core_apn_size = gprs_str_to_apn(gbcfg.core_apn, "foo.bar", 100);
configure_sgsn_peer(&sgsn_peer);
configure_bss_peers(bss_peer, ARRAY_SIZE(bss_peer));