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

Christian Lamparter chunkeey at googlemail.com
Thu Sep 28 13:32:28 PDT 2017


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>

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