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 16:27:11 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-04 16:27:11 +0200
commit3fa26448d160bf153ec3f35843dbe3aa728c39fb (patch)
tree99ea335140022b9cb8588456386483883cd05e7f /openbsc/tests/gbproxy/gbproxy_test.c
parent3748ada07352b7144766d988853b93f372e7a790 (diff)
gbproxy: Kill the global gbprox_global_patch_state struct
Move this patching state into the gbproxy_config as well. Done by Jacob
Diffstat (limited to 'openbsc/tests/gbproxy/gbproxy_test.c')
-rw-r--r--openbsc/tests/gbproxy/gbproxy_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/tests/gbproxy/gbproxy_test.c b/openbsc/tests/gbproxy/gbproxy_test.c
index 63daaff59..3abc14e16 100644
--- a/openbsc/tests/gbproxy/gbproxy_test.c
+++ b/openbsc/tests/gbproxy/gbproxy_test.c
@@ -951,7 +951,7 @@ static void test_gbproxy_ra_patching()
configure_bss_peers(bss_peer, ARRAY_SIZE(bss_peer));
gbcfg.match_re = talloc_strdup(NULL, "^9898|^121314");
- if (gbprox_set_patch_filter(gbcfg.match_re, &err_msg) != 0) {
+ if (gbprox_set_patch_filter(&gbcfg, gbcfg.match_re, &err_msg) != 0) {
fprintf(stderr, "Failed to compile RE '%s': %s\n",
gbcfg.match_re, err_msg);
exit(1);