summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2014-10-06 17:43:02 -0400
committerColin Walters <walters@verbum.org>2014-10-06 17:43:02 -0400
commit5dba2442a112b0af70eafa0c3c33a4e58ee5bb76 (patch)
treec63aca7d304503b0ef7b5dda202f434d5c2daa2d
parent68b37dc001eb19a5e8f58fa1d862719faad34835 (diff)
downloadostree-5dba2442a112b0af70eafa0c3c33a4e58ee5bb76.tar.gz
trivial-httpd: Another followup fix - need to listen on all interfaces
This was the intended design, but it regressed when updating.
-rw-r--r--src/ostree/ot-builtin-trivial-httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-builtin-trivial-httpd.c b/src/ostree/ot-builtin-trivial-httpd.c
index dc4f94e1..e8c06e37 100644
--- a/src/ostree/ot-builtin-trivial-httpd.c
+++ b/src/ostree/ot-builtin-trivial-httpd.c
@@ -347,7 +347,7 @@ ostree_builtin_trivial_httpd (int argc, char **argv, OstreeRepo *repo, GCancella
#if SOUP_CHECK_VERSION(2, 48, 0)
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;
#else
server = soup_server_new (SOUP_SERVER_PORT, 0,