mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
nat: Fix the call to make_sock and pass a 0 priv_nr and the nat as data
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user