Hi Vincent,
thank you very much. I will add it.

        Ondrej

On 12. 08. 19 13:57, Vincent Bernat wrote:
> FreeBSD use the same value as IPv4, set with IP_MINTTL, for IPv6. See:
> <http://fxr.watson.org/fxr/source/netinet/tcp_input.c?v=FREEBSD-12-0#L937>
> ---
>  sysdep/bsd/sysio.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/sysdep/bsd/sysio.h b/sysdep/bsd/sysio.h
> index 545276a37c3a..f02b80945ba2 100644
> --- a/sysdep/bsd/sysio.h
> +++ b/sysdep/bsd/sysio.h
> @@ -245,9 +245,9 @@ sk_set_min_ttl4(sock *s, int ttl)
>  }
>  
>  static inline int
> -sk_set_min_ttl6(sock *s, int ttl UNUSED)
> +sk_set_min_ttl6(sock *s, int ttl)
>  {
> -  ERR_MSG("Kernel does not support IPv6 TTL security");
> +  return sk_set_min_ttl4(s, ttl);
>  }
>  
>  static inline int
> 

Reply via email to