commit | 1c0f538a8b10e92b58868c8d91572ec429bd2003 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Mon Sep 07 18:46:58 2015 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Mon Sep 07 22:25:35 2015 +0200 |
tree | 33b658e2daa1d78d5dc559b6a78a4346b3d6f277 | |
parent | 385836171bd900f31c07da4e55b32573e6fc4cbf [diff] [blame] |
hnbgw: Bind to INADDR_ANY, not to localhost only
diff --git a/src/hnbgw.c b/src/hnbgw.c index e5c8c7a..0301cd6 100644 --- a/src/hnbgw.c +++ b/src/hnbgw.c
@@ -152,7 +152,7 @@ } rc = osmo_sock_init_ofd(&g_hnb_gw.listen_fd, AF_INET, SOCK_STREAM, - IPPROTO_SCTP, "127.0.0.1", + IPPROTO_SCTP, NULL, g_hnb_gw.config.iuh_listen_port, OSMO_SOCK_F_BIND); if (rc < 0) { perror("Error binding Iuh port");