Wilko Bulte wrote:
> 
> On Alpha the bootpd does not work, it assert-fails on the
> size of the struct bootp being != to BP_MINPKTSZ.
> 
> My best bet is that the Alpha alignment inside the struct results
> in a bigger bootp struct. I am, however, not sure on what the right
> way is to fix this.

Make sure int32 is not defined in terms of long. If it is, then bp_xid
is aligned on a 8 byte boundary adding 4 bytes to the size of the
struct. Since long if 64-bits on the Alpha, the total increase will be
8. Any alignment at the end of the structure shouldn't cause you
troubles.

-- 
Marcel Moolenaar                        mailto:[EMAIL PROTECTED]
SCC Internetworking & Databases           http://www.scc.nl/
The FreeBSD project                mailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to