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-06-15 20:24:08 +0800
commitf8048d9f5c0dbc9a31034289ed8a310a19517520 (patch)
treed93a279a155dadb68c802132d2910dfa5f6dc897 /openbsc/src/nat/bsc_nat.c
parent58a56797a89c24dec2960de85f5168297d61a98f (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 7d97086a2..65fc10b4e 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;