[avahi] Is it possible to customize "#define AVAHI_DEFAULT_TTL_HOST_NAME" and "#define AVAHI_DEFAULT_TTL", rather than embedding them "statically" in the code?
Ajay Garg
ajaygargnsit at gmail.com
Thu Jul 5 07:02:35 PDT 2012
Hi all.
Just found about /etc/avahi/avahi-daemon.conf.
That would do it !!! (of course after patching avahi to read-in the two new
values).
Will be back soon with a patch :)
Regards,
Ajay
On Thu, Jul 5, 2012 at 3:49 PM, Ajay Garg <ajaygargnsit at gmail.com> wrote:
> Hi all.
>
> I ran into a issue, as described at
> https://bugs.freedesktop.org/show_bug.cgi?id=51501
>
>
> I followed these steps ::
>
> a)
> I changed the values to
>
> #define AVAHI_DEFAULT_TTL_HOST_NAME (20)
> #define
> AVAHI_DEFAULT_TTL (20)
>
> b)
> Re-compiled the RPMS
>
>
> c)
> Upgraded to these new RPMS on my F17.
>
>
> And voila, the contacts-disappearance signals did emit (after about 20
> seconds) !!!
>
>
> The same approach solved the issue on F14 as well !!!
>
>
>
>
> So, now I intend to make the values of these 2 "#defines" customizable. My
> queries are ::
>
> (i)
> Is it possible already?
>
> (ii)
> If answer to (i) is "no", perhaps GConf might help? The thing that worries
> me is in what context should Gconf-entries be populated, since avahi runs
> as a daemon.
>
>
>
>
> Will be grateful to a reply.
>
>
> Thanks and Regards,
> Ajay
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/avahi/attachments/20120705/c046e951/attachment.html>
More information about the avahi
mailing list