[LEDE-DEV] [PATCH 1/3] Remove ttl==255 restriction for queries

Philip Prindeville philipp_subx at redfish-solutions.com
Thu Sep 28 13:56:33 PDT 2017



> On Sep 28, 2017, at 2:32 PM, Christian Lamparter <chunkeey at googlemail.com> wrote:
> 
>> On Thursday, September 28, 2017 1:36:52 PM CEST Philip Prindeville wrote:
>> Why was this test there and equally why are we removing it?
> I guess it was there so umdns would ignore any forwarded mdns?
> This would stop two mDNS reflectors to ping-pong each other. 
> The avahi-daemon manpages speaks about this in:
> 
> <https://manpages.debian.org/jessie/avahi-daemon/avahi-daemon.conf.5.en.html#SECTION_%5BREFLECTOR%5D>

So why remove it in that case?


> 
> Regards,
> Christian
> 
>> 
>>> On Sep 28, 2017, at 1:09 AM, Philipp Meier <philipp.meier at neratec.com> wrote:
>>> 
>>> Signed-off-by: Philipp Meier <philipp.meier at neratec.com>
>>> ---
>>> interface.c | 6 ------
>>> 1 file changed, 6 deletions(-)
>>> 
>>> diff --git a/interface.c b/interface.c
>>> index 3904c89..7f814d2 100644
>>> --- a/interface.c
>>> +++ b/interface.c
>>> @@ -233,9 +233,6 @@ read_socket4(struct uloop_fd *u, unsigned int events)
>>>       }
>>>   }
>>> 
>>> -    if (ttl != 255)
>>> -        return;
>>> -
>>>   if (debug > 1) {
>>>       char buf[256];
>>> 
>>> @@ -310,9 +307,6 @@ read_socket6(struct uloop_fd *u, unsigned int events)
>>>       }
>>>   }
>>> 
>>> -    if (ttl != 255)
>>> -        return;
>>> -
>>>   if (debug > 1) {
>>>       char buf[256];
>>> 
>> 
>> 
>> _______________________________________________
>> Lede-dev mailing list
>> Lede-dev at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/lede-dev
>> 
> 
> 




More information about the Lede-dev mailing list