aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-26 09:28:40 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-15 20:24:08 +0800
commit7c99d4fbf05fe9e7c2b2b12b145567887d495dd0 (patch)
treecfccb5df8b068a5c1b7bb5015dcaf631fcd8373c /openbsc/src/nat/bsc_nat.c
parentf38e879ca46b9dc8cb0efc11953a9a20222a046e (diff)
nat: Add a warning for an important todo item on connection loss
In case we disconnect with some pending operations we will need to signal the MSC that something is wrong. This could be by sending a RLSD directly, or a clear command. Another part of the fix is to respond with a RLC on unknown RLSD messages.
Diffstat (limited to 'openbsc/src/nat/bsc_nat.c')
-rw-r--r--openbsc/src/nat/bsc_nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c
index 309b6dbe3..f50e47f35 100644
--- a/openbsc/src/nat/bsc_nat.c
+++ b/openbsc/src/nat/bsc_nat.c
@@ -492,6 +492,7 @@ static void remove_bsc_connection(struct bsc_connection *connection)
if (sccp_patch->bsc != connection)
continue;
+#warning "TODO: Send a RLSD to the MSC. Or at least a clear command."
llist_del(&sccp_patch->list_entry);
talloc_free(sccp_patch);
}