Remove ttl==255 restriction for queries
authorPhilipp Meier <philipp.meier@neratec.com>
Thu, 28 Sep 2017 07:09:03 +0000 (09:09 +0200)
committerJohn Crispin <john@phrozen.org>
Thu, 28 Sep 2017 07:25:46 +0000 (09:25 +0200)
Signed-off-by: Philipp Meier <philipp.meier@neratec.com>
interface.c

index 3904c8918125d786e7119f56c8dfdcb1d8cd608f..7f814d22cd8467ebbc6eb7cb0d1616e8aa7401e8 100644 (file)
@@ -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];