nat: Fix the call to make_sock and pass a 0 priv_nr and the nat as data
This commit is contained in:
parent
ef38e85542
commit
7d73642d0e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue