nat: Fix a crash due the refactoring and pass the nat again.

This commit is contained in:
Holger Hans Peter Freyther 2011-04-11 10:27:10 +02:00
parent ffcf66f30e
commit 0d93fb4127
1 changed files with 1 additions and 1 deletions

View File

@ -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,