aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/nat/bsc_nat_utils.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_utils.c
parented443e949e997503e71717fb4f9cb754d90fcc28 (diff)
nat: Assign the connection inside the new helper function.
Diffstat (limited to 'openbsc/src/nat/bsc_nat_utils.c')
-rw-r--r--openbsc/src/nat/bsc_nat_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_nat_utils.c b/openbsc/src/nat/bsc_nat_utils.c
index a0b7c2f2e..a3242317b 100644
--- a/openbsc/src/nat/bsc_nat_utils.c
+++ b/openbsc/src/nat/bsc_nat_utils.c
@@ -45,6 +45,7 @@ struct bsc_connection *bsc_connection_alloc(struct bsc_nat *nat)
if (!con)
return NULL;
+ con->nat = nat;
return con;
}