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

Philip Prindeville philipp_subx at redfish-solutions.com
Thu Sep 28 12:36:52 PDT 2017


Why was this test there and equally why are we removing it?

> 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];
> 
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> 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