mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-01 20:43:47 +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 */
|
/* wait for the BSC */
|
||||||
rc = make_sock(&bsc_listen, IPPROTO_TCP, ntohl(local_addr.s_addr),
|
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) {
|
if (rc != 0) {
|
||||||
fprintf(stderr, "Failed to listen for BSC.\n");
|
fprintf(stderr, "Failed to listen for BSC.\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user