diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-08-04 16:27:11 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-08-04 16:27:11 +0200 |
commit | 3fa26448d160bf153ec3f35843dbe3aa728c39fb (patch) | |
tree | 99ea335140022b9cb8588456386483883cd05e7f /openbsc/tests/gbproxy | |
parent | 3748ada07352b7144766d988853b93f372e7a790 (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')
-rw-r--r-- | openbsc/tests/gbproxy/gbproxy_test.c | 2 |
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); |