[phodav] spice: use any address, as mdns uses non-localhost name



commit 59d2893fe30eabb58558905e91f846a3ef031670
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Wed Feb 26 16:41:52 2014 +0100

    spice: use any address, as mdns uses non-localhost name

 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 6c4cd3f..708b0c6 100644
--- a/spice/spice-webdavd.c
+++ b/spice/spice-webdavd.c
@@ -759,7 +759,7 @@ main (int argc, char *argv[])
 
 
   GSocketService *service = g_socket_service_new ();
-  GInetAddress *iaddr = g_inet_address_new_loopback (G_SOCKET_FAMILY_IPV4);
+  GInetAddress *iaddr = g_inet_address_new_any (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]