aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-29 15:14:15 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-29 15:14:15 +0200
commit5c0132882ad1c365b4982c62feb77fa31bbd8c49 (patch)
tree1748ce2be9a64269b367f5baee51f06660a6f73f /openbsc/src/nat/bsc_nat.c
parented443e949e997503e71717fb4f9cb754d90fcc28 (diff)
nat: Assign the connection inside the new helper function.
Diffstat (limited to 'openbsc/src/nat/bsc_nat.c')
-rw-r--r--openbsc/src/nat/bsc_nat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat.c b/openbsc/src/nat/bsc_nat.c
index 29fd3ea82..71da5cd54 100644
--- a/openbsc/src/nat/bsc_nat.c
+++ b/openbsc/src/nat/bsc_nat.c
@@ -543,7 +543,6 @@ static int ipaccess_listen_bsc_cb(struct bsc_fd *bfd, unsigned int what)
return -1;
}
- bsc->nat = nat;
write_queue_init(&bsc->write_queue, 100);
bsc->write_queue.bfd.data = bsc;
bsc->write_queue.bfd.fd = ret;