Hi Lennart, It turns out this bug was already reported as Ticket #209. I used the exact same solution in adding force bind to the routable address configured condition as was already reported there. Sorry for not checking first.
-- Ksatria -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lennart Poettering Sent: Sunday, October 26, 2008 12:19 PM To: [email protected] Subject: Re: [avahi] Preventing avahi from dropping link local addresswhen routable address is configured On Tue, 14.10.08 13:09, Williams, Ksatria G ([EMAIL PROTECTED]) wrote: > Hi, Heya! > > I'd like Avahi to maintain the link local address it configured even > when a routable address is assigned. Currently it's being dropped even > if the force bind parameter is used in line 1285 of main.c in > avahi-autoipd. I found an old email thread in the archives that says, > "avahi-autoipd subscribes to network configuration changes and removes > its own address if a routable address is assigned. (Unless --force-bind > is passed)." This message leads me to believe that it should not be > calling unbind on the avahi-autoipd.action script when a routable > address is configured when the force bind parameter was used. Can anyone > verify that adding a check for --force-bind in line 1284 will not break > Avahi or have unintended consequences other than to maintain a link > local address when the force bind argument is used and a routable > address is assigned? --force-bind should do exactly what you want. if it doesn't it would be a bug. Is it possible that you are misinterpreting the output of ifconfig? Please make sure to use "ip addr" for looking at the IP configuration. ifconfig is obsolete and shows interfaces with multiple addresses incorrectly. 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 _______________________________________________ avahi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/avahi
