diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-05-27 14:09:55 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-06-01 20:41:30 +0200 |
commit | df8e6e9e4a14327a06468c43b1189c90f36f8c61 (patch) | |
tree | 7ec4be0dc11c1433a3a47dba43e32e869b16d0fd /openbsc/include | |
parent | ad75eababc153d513e75f7f052818ca02acd9533 (diff) |
nat: Prepare to patch more than the CC Setup message
Refactor the code to allow having different handlers. The goal
is to be able to patch some SMS messages too.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h index 650d1133c..bf88e0af4 100644 --- a/openbsc/include/openbsc/bsc_nat.h +++ b/openbsc/include/openbsc/bsc_nat.h @@ -385,7 +385,7 @@ int bsc_ussd_init(struct bsc_nat *nat); int bsc_check_ussd(struct sccp_connections *con, struct bsc_nat_parsed *parsed, struct msgb *msg); int bsc_close_ussd_connections(struct bsc_nat *nat); -struct msgb *bsc_nat_rewrite_setup(struct bsc_nat *nat, struct msgb *msg, struct bsc_nat_parsed *, const char *imsi); +struct msgb *bsc_nat_rewrite_msg(struct bsc_nat *nat, struct msgb *msg, struct bsc_nat_parsed *, const char *imsi); /** paging group handling */ struct bsc_nat_paging_group *bsc_nat_paging_group_num(struct bsc_nat *nat, int group); |