Re: PATCH: relayd is not working under a non INET6 kernel

2013-01-29 Thread Claudio Jeker
On Tue, Jan 29, 2013 at 11:09:49AM +0100, Julien Dhaille wrote: > Hi. > With a non INET6 kernel, relayd is not working : > fatal: icmp_init: socket: Protocol not supported. > > Cheers > > Index: check_icmp.c > === > RCS file: /cvs/sr

Re: PATCH: relayd is not working under a non INET6 kernel

2013-01-29 Thread Stuart Henderson
On 2013/01/29 15:44, Julien Dhaille wrote: > Just tried with a GENERIC kernel, however it's still working. > So, if i follow you, this usage of INET6 define is definitely ugly ? Actually...it is irrelevant whether the kernel has v6 support or not when you build this userland program, the same bina

Re: PATCH: relayd is not working under a non INET6 kernel

2013-01-29 Thread Brad Smith
On Tue, Jan 29, 2013 at 03:44:02PM +0100, Julien Dhaille wrote: > Just tried with a GENERIC kernel, however it's still working. > So, if i follow you, this usage of INET6 define is definitely ugly ? You're building a kernel without INET6 so obviously you're not using IPv6. So unless you test with

Re: PATCH: relayd is not working under a non INET6 kernel

2013-01-29 Thread Julien Dhaille
Just tried with a GENERIC kernel, however it's still working. So, if i follow you, this usage of INET6 define is definitely ugly ? 2013/1/29 Stuart Henderson > On 2013/01/29 05:40, Brad Smith wrote: > > - Original message - > > > Hi. > > > With a non INET6 kernel, relayd is not working

Re: PATCH: relayd is not working under a non INET6 kernel

2013-01-29 Thread Stuart Henderson
On 2013/01/29 05:40, Brad Smith wrote: > - 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 jus

Re: PATCH: relayd is not working under a non INET6 kernel

2013-01-29 Thread Brad Smith
- 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.

PATCH: relayd is not working under a non INET6 kernel

2013-01-29 Thread Julien Dhaille
Hi. With a non INET6 kernel, relayd is not working : fatal: icmp_init: socket: Protocol not supported. Cheers Index: check_icmp.c === RCS file: /cvs/src/usr.sbin/relayd/check_icmp.c,v retrieving revision 1.34 diff -u -r1.34 check_icm