diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-04-11 10:27:10 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-04-11 20:30:56 +0200 |
commit | 0d93fb4127d7919cbab38a60a63d27cd1ccc8f9e (patch) | |
tree | 9c4ebca4cee5846724b4beb89d33cba0c181773d /openbsc/src/osmo-bsc_nat | |
parent | ffcf66f30ea1a556db92cdf9c43fbe1ae596208d (diff) |
nat: Fix a crash due the refactoring and pass the nat again.
Diffstat (limited to 'openbsc/src/osmo-bsc_nat')
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_ussd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_ussd.c b/openbsc/src/osmo-bsc_nat/bsc_ussd.c index ff1d27a0b..af123407a 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_ussd.c +++ b/openbsc/src/osmo-bsc_nat/bsc_ussd.c @@ -251,7 +251,7 @@ int bsc_ussd_init(struct bsc_nat *nat) nat->ussd_listen.data = nat; return make_sock(&nat->ussd_listen, IPPROTO_TCP, - ntohl(addr.s_addr), 5001, 0, ussd_listen_cb, NULL); + ntohl(addr.s_addr), 5001, 0, ussd_listen_cb, nat); } static int forward_ussd(struct sccp_connections *con, const struct ussd_request *req, |