diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-29 15:14:15 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-03-29 15:14:15 +0200 |
commit | 5c0132882ad1c365b4982c62feb77fa31bbd8c49 (patch) | |
tree | 1748ce2be9a64269b367f5baee51f06660a6f73f /openbsc/src/nat/bsc_nat_utils.c | |
parent | ed443e949e997503e71717fb4f9cb754d90fcc28 (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.c | 1 |
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; } |