[CUWiN-Dev] in_getifa-patch on NetBSD-current

Bill Comisky bcomisky at pobox.com
Tue Jun 21 12:22:34 CDT 2005


On Fri, 17 Jun 2005, David Young wrote:

> On Fri, Jun 17, 2005 at 03:05:06PM -0500, Bill Comisky wrote:
>> Dave,
>>
>> I'm getting the same problem with NetBSD-current where 169.254/16
>> addressed packets are going out to our local LAN through the gateway
>> instead of 10/8 addressed packets.  So I applied the in_getifa-patch.  I
>> had to merge one hunk in sys/netinet/in.c manually because the __P() stuff
>> has been removed since your patch was generated.  However, after patching,
>> the build dies compiling in.c.  See the tail of the output at the bottom
>> of this message; there didn't seem to be an instructive error message.
>
> NetBSD is using new compiler flags that keep it from building if a
> type-cast discards the "const-ness" of an expression.  I've updated the
> patch to suit the new flags.  See attachment.
>
> Dave
>

thanks Dave, that did the trick.
bill

--
Bill Comisky
bcomisky at pobox.com


More information about the CU-Wireless-Dev mailing list