This commit removes ttl==255 restriction for queries.

Newer mDNS implementations use ttl != 255 when sending queries.


Signed-off-by: Philipp Meier <philipp.me...@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];

--
2.7.4



_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to