nat: Fix the call to make_sock and pass a 0 priv_nr and the nat as data

This commit is contained in:
Holger Hans Peter Freyther 2011-04-07 22:14:58 +02:00
parent ef38e85542
commit 7d73642d0e
1 changed files with 1 additions and 1 deletions

View File

@ -1365,7 +1365,7 @@ int main(int argc, char **argv)
/* wait for the BSC */
rc = make_sock(&bsc_listen, IPPROTO_TCP, ntohl(local_addr.s_addr),
5000, ipaccess_listen_bsc_cb);
5000, 0, ipaccess_listen_bsc_cb, nat);
if (rc != 0) {
fprintf(stderr, "Failed to listen for BSC.\n");
exit(1);