[ostree] trivial-httpd: Another followup fix - need to listen on all interfaces
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] trivial-httpd: Another followup fix - need to listen on all interfaces
- Date: Mon, 6 Oct 2014 21:44:21 +0000 (UTC)
commit 5dba2442a112b0af70eafa0c3c33a4e58ee5bb76
Author: Colin Walters <walters verbum org>
Date: Mon Oct 6 17:43:02 2014 -0400
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 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 dc4f94e..e8c06e3 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]