[rygel] rygel: Allow IP addresses in interface list



commit 30e6d892296074cf578572d6de06f63110d72d19
Author: Jens Georg <mail jensge org>
Date:   Sun Jun 26 17:02:19 2016 +0200

    rygel: Allow IP addresses in interface list
    
    Signed-off-by: Jens Georg <mail jensge org>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767305

 src/rygel/rygel-main.vala |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/rygel/rygel-main.vala b/src/rygel/rygel-main.vala
index 4b9a784..bd5c65e 100644
--- a/src/rygel/rygel-main.vala
+++ b/src/rygel/rygel-main.vala
@@ -162,8 +162,9 @@ internal class Rygel.Main : Object {
         } catch (GLib.Error err) {}
 
         if (ifaces == null ||
-            context.interface in ifaces||
-            context.network in ifaces) {
+            context.interface in ifaces ||
+            context.network in ifaces ||
+            context.host_ip in ifaces) {
             try {
                 var factory = new RootDeviceFactory (context);
                 this.factories.add (factory);


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