On Thu, 18.09.08 18:02, David Lambert ([EMAIL PROTECTED]) wrote:

> Please excuse the possible duplicate post, but I live in the Houston area 
> affected by Hurricane Ike and I am not sure if my original got through
> 
> I have written a simple daemon based on the core-publish-service.c 
> example. My question is what is the "correct" way to re-publish the 
> service when the interface address changes due to for instance a DHCP 
> client lease expiration? One obvious solution would be to restart the 
> daemon from the dhcpcd.sh when the IP address changes. But is there a 
> more elegant solution?

The Avahi core will notice and handle this anyway since it listens for
network configuration changes.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi

Reply via email to