path: root/openbsc/include/openbsc
diff options
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-23 14:13:27 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-23 14:13:27 +0800
commite4045679a8bc746c5fb2a85872ca074f02add241 (patch)
tree953f2f7f1b615aa38447f4327ddfe0ed681cdfdc /openbsc/include/openbsc
parent52ae9a461b10abeb0e2041dc3fb900465ecb2da3 (diff)
nat: Only close connections that were fully connected
Remember that we have seen a CC and have a valid destination local reference now and only send a fake RLC to the MSC when we had connections in this state.
Diffstat (limited to 'openbsc/include/openbsc')
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/bsc_nat.h b/openbsc/include/openbsc/bsc_nat.h
index 4d90ed744..90c263d24 100644
--- a/openbsc/include/openbsc/bsc_nat.h
+++ b/openbsc/include/openbsc/bsc_nat.h
@@ -110,6 +110,7 @@ struct sccp_connections {
struct sccp_source_reference real_ref;
struct sccp_source_reference patched_ref;
struct sccp_source_reference remote_ref;
+ int has_remote_ref;
/* GSM audio handling. That is 32 * multiplex + ts */
int crcx;