[LEDE-DEV] [PATCH] Remove ttl==255 restriction for queries
Philipp Meier
philipp.meier at neratec.com
Tue Sep 26 00:12:32 PDT 2017
This commit removes ttl==255 restriction for queries.
Newer mDNS implementations use ttl != 255 when sending queries.
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];
--
2.7.4
More information about the Lede-dev
mailing list