diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-04-07 22:14:58 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-04-07 22:14:58 +0200 |
commit | 7d73642d0ebccf84a4a091afad6dc07e01545871 (patch) | |
tree | a35a4e34eeb755ceba23dbc9de82ccccf97adba7 | |
parent | ef38e85542a92b125548c9f7913c6ca25b2fd980 (diff) |
nat: Fix the call to make_sock and pass a 0 priv_nr and the nat as data
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c index 2b62ea691..75862941a 100644 --- a/openbsc/src/osmo-bsc_nat/bsc_nat.c +++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c @@ -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); |