[phodav] spice-webdavd: Bind to loopback



commit f92d9e45e008d03e16950026cbe568cae161b87b
Author: Mattias Ohlsson <mattias ohlsson inprose com>
Date:   Wed Dec 6 11:34:01 2017 +0100

    spice-webdavd: Bind to loopback
    
    https://bugzilla.gnome.org/show_bug.cgi?id=791304

 spice/spice-webdavd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/spice/spice-webdavd.c b/spice/spice-webdavd.c
index f352cf3..22fb4ac 100644
--- a/spice/spice-webdavd.c
+++ b/spice/spice-webdavd.c
@@ -1133,7 +1133,7 @@ main (int argc, char *argv[])
      windows, and it can't accept new connections if cleanup and
      restart a new service */
   socket_service = g_socket_service_new ();
-  GInetAddress *iaddr = g_inet_address_new_any (G_SOCKET_FAMILY_IPV4);
+  GInetAddress *iaddr = g_inet_address_new_loopback (G_SOCKET_FAMILY_IPV4);
   GSocketAddress *saddr = g_inet_socket_address_new (iaddr, port);
   g_object_unref (iaddr);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]