From 3fa26448d160bf153ec3f35843dbe3aa728c39fb Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 4 Aug 2014 16:27:11 +0200 Subject: gbproxy: Kill the global gbprox_global_patch_state struct Move this patching state into the gbproxy_config as well. Done by Jacob --- openbsc/tests/gbproxy/gbproxy_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbsc/tests/gbproxy') 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); -- cgit v1.2.3