diff options
Diffstat (limited to 'src/web_server.h')
-rw-r--r--[-rwxr-xr-x] | src/web_server.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web_server.h b/src/web_server.h index 0d1e2da9..39f3bad9 100755..100644 --- a/src/web_server.h +++ b/src/web_server.h @@ -13,8 +13,8 @@ extern int listen_backlog; extern int listen_fd; extern int listen_port; -extern int create_listen_socket4(int port, int listen_backlog); -extern int create_listen_socket6(int port, int listen_backlog); +extern int create_listen_socket4(const char *ip, int port, int listen_backlog); +extern int create_listen_socket6(const char *ip, int port, int listen_backlog); extern void *socket_listen_main(void *ptr); #endif /* NETDATA_WEB_SERVER_H */ |