diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-09-03 14:35:33 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-09-03 15:04:43 +0200 |
commit | 1b9902c1280b3b1092b726695142a09a1edcb154 (patch) | |
tree | 531c3101b4a3009da5c494fad58f3d1f15f6f1c1 /openbsc/include | |
parent | ff98b3cffa9badc7d2cc5b2e8fed3460ccb017c6 (diff) |
nat: Remember the original dest local reference in the parsed struct
In case of the RLSD coming from the MSC we are patching the address
in-situ but for local calls set con = NULL. We then answered the RLSD
with the wrong reference and the MSC kept on trying.
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/bsc_nat_sccp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat_sccp.h b/openbsc/include/openbsc/bsc_nat_sccp.h index 34aa6320a..0561df1f4 100644 --- a/openbsc/include/openbsc/bsc_nat_sccp.h +++ b/openbsc/include/openbsc/bsc_nat_sccp.h @@ -41,6 +41,9 @@ struct bsc_nat_parsed { /* destination local reference */ struct sccp_source_reference *dest_local_ref; + /* original value */ + struct sccp_source_reference original_dest_ref; + /* called ssn number */ int called_ssn; |