From a18b11602cb19198544a090078faaa0a826ec19c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 1 Apr 2011 17:32:21 +0200 Subject: nat: Make the USSD number matching a regexp This allows to match multiple numbers and multiple patterns --- openbsc/include/openbsc/bsc_nat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/include') diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index e62892508..af753cc40 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -249,6 +249,7 @@ struct bsc_nat { /* USSD messages we want to match */ char *ussd_lst_name; char *ussd_query; + regex_t ussd_query_re; char *ussd_token; char *ussd_local; struct bsc_fd ussd_listen; -- cgit v1.2.3