From 5dba2442a112b0af70eafa0c3c33a4e58ee5bb76 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 6 Oct 2014 17:43:02 -0400 Subject: [PATCH] trivial-httpd: Another followup fix - need to listen on all interfaces This was the intended design, but it regressed when updating. --- src/ostree/ot-builtin-trivial-httpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,