]> 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 cecc0a25fbe1e18206c2d8d22c43d9486936eddc..d3fa4d967ee7b1f1302ce06fb15be2bd946fbb82 100644 (file)
@@ -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 |