aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-13 09:55:20 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-13 09:55:20 +0100
commitff5957568f9864121f7ffac808966388db1f1978 (patch)
treef1e3493c41f83d61b4c4ed0ae7bf9a7985814893
parent7d2e1ca4be8491874f139cd3cd5ff53ca5e09277 (diff)
[nat] Really forward the data to the BSC
-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 ffd0af1c4..9af8467c6 100644
--- a/openbsc/src/nat/bsc_nat.c
+++ b/openbsc/src/nat/bsc_nat.c
@@ -103,6 +103,7 @@ static void forward_sccp_to_bts(struct msgb *msg)
/* currently send this to every BSC connected */
llist_for_each_entry(bsc, &bsc_connections, list_entry) {
+ write(bsc->bsc_fd.fd, msg->data, msg->data_len);
}
}