X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fresolve-host-name.c;h=7bb5727bb4d6dc7e324ffbbbf37f8315921b1466;hb=5867849876e19996fd05a0d4917cb739904519c1;hp=d9c334126bfd48766c06ef2c7736f7cbcd6db5d3;hpb=bec8eb97079a9f9a835b4629fb6144af0eaa1635;p=catta diff --git a/avahi-core/resolve-host-name.c b/avahi-core/resolve-host-name.c index d9c3341..7bb5727 100644 --- a/avahi-core/resolve-host-name.c +++ b/avahi-core/resolve-host-name.c @@ -72,12 +72,12 @@ static void finish(AvahiSHostNameResolver *r, AvahiResolverEvent event) { switch (r->address_record->key->type) { case AVAHI_DNS_TYPE_A: - a.family = AVAHI_PROTO_INET; + a.proto = AVAHI_PROTO_INET; a.data.ipv4 = r->address_record->data.a.address; break; case AVAHI_DNS_TYPE_AAAA: - a.family = AVAHI_PROTO_INET6; + a.proto = AVAHI_PROTO_INET6; a.data.ipv6 = r->address_record->data.aaaa.address; break;