aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
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-03-26 09:28:40 +0100
commit3368e2a3d14e6014cca98c06b26cf7431d48a9b2 (patch)
tree0829ee8592513d4dac6480ae2d97a3aed5d2304f /openbsc
parent929d788e21fb0392c8f9962c32def448c16efecd (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')
-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);
}