----- Original message -----
> Hi.
> With a non INET6 kernel, relayd is not working :
> fatal: icmp_init: socket: Protocol not supported.
>
> Cheers
I could be wrong but I don't believe there is a INET6 define in userland so
this would just break relayd for people using v6.
> Index: check_icmp.c
> ===================================================================
> RCS file: /cvs/src/usr.sbin/relayd/check_icmp.c,v
> retrieving revision 1.34
> diff -u -r1.34 check_icmp.c
> --- check_icmp.c 17 Jan 2013 20:34:18 -0000 1.34
> +++ check_icmp.c 28 Jan 2013 13:36:19 -0000
> @@ -69,8 +69,11 @@
> {
> icmp_setup(env, &env->sc_icmp_send, AF_INET);
> icmp_setup(env, &env->sc_icmp_recv, AF_INET);
> +#ifdef INET6
> icmp_setup(env, &env->sc_icmp6_send, AF_INET6);
> icmp_setup(env, &env->sc_icmp6_recv, AF_INET6);
> +#endif
> +
> env->sc_id = getpid() & 0xffff;
> }
>
> --
> Julien Dhaille
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.