Re: HEADSUP: arp-v2 has been committed

From: Julian Elischer <julian_at_elischer.org>
Date: Mon, 12 Jan 2009 12:37:58 -0800
Garrett Cooper wrote:

I think setting it to a value of 0 has two good points...

In code that does:
if (XXX & RTF_LLINFO) {
	yyy()
}
the optimiser should simply remove the code,
or at worst give an error messages that makes people go look for
the answer, and secondly,
the conditional

#if defined(RTF_LLINFO) && (RTF_LLINFO != 0)

can be easily used to make code conditionally do the right thing
for different versions of freeBSD,
possibly trivially replacing earlier occurances of

#ifdef RTF_LLINFO



> 
>     Oh, btw... wine works well when you set the RTF_LLINFO value to 0
> with arp-v2, AFAICT.
> -Garrett
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Mon Jan 12 2009 - 20:06:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:40 UTC