bpa wrote:
> I did a check on the avahi-daemon source source - the
> ""publish-a-on-ipv6" is in 0.6.30 but not in 0.6.16
>
> Also there is no "publish-aaaa-on-ipv4" - so you may need to check all
> settings
>
> The code for handling the settings in "[publish]" section in 0.6.16
>
> >
Code:
--------------------
> >
> if (strcasecmp(p->key, "publish-addresses") == 0)
> c->server_config.publish_addresses = is_yes(p->value);
> else if (strcasecmp(p->key, "publish-hinfo") == 0)
> c->server_config.publish_hinfo = is_yes(p->value);
> else if (strcasecmp(p->key, "publish-workstation") == 0)
> c->server_config.publish_workstation = is_yes(p->value);
> else if (strcasecmp(p->key, "publish-domain") == 0)
> c->server_config.publish_domain = is_yes(p->value);
> else if (strcasecmp(p->key, "publish-resolv-conf-dns-servers") == 0)
> c->publish_resolv_conf = is_yes(p->value);
> else if (strcasecmp(p->key, "disable-publishing") == 0)
> c->server_config.disable_publishing = is_yes(p->value);
> else if (strcasecmp(p->key, "disable-user-service-publishing") == 0)
> c->disable_user_service_publishing = is_yes(p->value);
> else if (strcasecmp(p->key, "add-service-cookie") == 0)
> c->server_config.add_service_cookie = is_yes(p->value);
> else if (strcasecmp(p->key, "publish-dns-servers") == 0) {
> avahi_strfreev(c->publish_dns_servers);
> c->publish_dns_servers = avahi_split_csv(p->value);
> } else {
> avahi_log_error("Invalid configuration key \"%s\" in group \"%s\"\n",
p->key, g->name);
> goto finish;
>
--------------------
> >
Thank you so much.
Its strange, as the conf file in the avahi directory had
"publish-aaaa-on-ipv4" and "publish-a-on-ipv6", it was just commented
out. Thats why I didn't think to check if it was supported in my version
(otherwise why would it be in the conf file). I'll have to update it to
0.6.30, but guess i'll have to do it manually as yum returns it as up to
date :/
------------------------------------------------------------------------
mentos's Profile: http://forums.slimdevices.com/member.php?userid=63208
View this thread: http://forums.slimdevices.com/showthread.php?t=100379
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins