HEADSUP: arp-v2 has been committed

Julian Elischer julian at elischer.org
Mon Jan 12 13:06:33 PST 2009


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"



More information about the freebsd-net mailing list