trivial-httpd: Another followup fix - need to listen on all interfaces

This was the intended design, but it regressed when updating.
This commit is contained in:
Colin Walters 2014-10-06 17:43:02 -04:00
parent 68b37dc001
commit 5dba2442a1
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ ostree_builtin_trivial_httpd (int argc, char **argv, OstreeRepo *repo, GCancella
#if SOUP_CHECK_VERSION(2, 48, 0) #if SOUP_CHECK_VERSION(2, 48, 0)
server = soup_server_new (SOUP_SERVER_SERVER_HEADER, "ostree-httpd ", NULL); server = soup_server_new (SOUP_SERVER_SERVER_HEADER, "ostree-httpd ", NULL);
if (!soup_server_listen_local (server, 0, 0, error)) if (!soup_server_listen_all (server, 0, 0, error))
goto out; goto out;
#else #else
server = soup_server_new (SOUP_SERVER_PORT, 0, server = soup_server_new (SOUP_SERVER_PORT, 0,