aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-04-01 17:32:21 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-04-01 17:32:21 +0200
commita18b11602cb19198544a090078faaa0a826ec19c (patch)
treec4d7bf2172864e468f370f592aaf38f8bf92362c /openbsc/include/openbsc
parent9e7e55f16476c618869ed54590b77724aa1a9817 (diff)
nat: Make the USSD number matching a regexp
This allows to match multiple numbers and multiple patterns
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/bsc_nat.h1
1 files changed, 1 insertions, 0 deletions
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;