]> git.meshlink.io Git - catta/blobdiff - avahi-gobject/ga-service-resolver.c
ServiceResolver.cs: Only try to set ScopeId when the protocol is IPv6. Patch by
[catta] / avahi-gobject / ga-service-resolver.c
index 6ba90cd02345c328587412dd551adb33f235f3f3..d3fa4d967ee7b1f1302ce06fb15be2bd946fbb82 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * ga-service-resolver.c - Source for GaServiceResolver
- * Copyright (C) 2005 Collabora Ltd.
+ * Copyright (C) 2006-2007 Collabora Ltd.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -257,7 +257,7 @@ static void ga_service_resolver_class_init(GaServiceResolverClass *
 
     param_spec = g_param_spec_enum("flags", "Lookup flags for the resolver",
                                    "Resolver lookup flags",
-                                   GA_TYPE_PROTOCOL,
+                                   GA_TYPE_LOOKUP_FLAGS,
                                    GA_LOOKUP_NO_FLAGS,
                                    G_PARAM_READWRITE |
                                    G_PARAM_STATIC_NAME |