From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,3416ea20d6a82e13 X-Google-Attributes: gid111c93,public From: Paul Vlaar Subject: Re: unaligned trap help Date: 1998/12/18 Message-ID: <75dc6k$a2p$1@news2.xs4all.nl>#1/1 X-Deja-AN: 423574765 X-NNTP-Posting-Host: support.euronet.nl [194.134.32.134] Sender: vla@support.euronet.nl References: <8qPBZSm00WB40YO1s0@andrew.cmu.edu> <913892314.564529@marvin> <913932319.277821@marvin> X-XS4ALL-Date: Fri, 18 Dec 1998 11:53:08 CET X-XS4ALL-User: vla Organization: XS4ALL, networking for the masses User-Agent: tin/pre-1.4-981002 ("Phobia") (UNIX) (FreeBSD/2.2.7-STABLE (i386)) Reply-To: paulwv@nl.euro.net Newsgroups: comp.os.linux.alpha Tom Michiels wrote: > Tom Michiels wrote: >> Timothy K Canfield wrote: >> > configuring the network using DHCP i recieve unaligned trap. This also >> I don't know about redhat, but if it uses - like debian - dhcpcd 0.70, >> then these unaligned traps are caused by long-pointer-casts: > ... > I looked at the code of dhcpcd 0.70 again, and: one should in fact > replace all u_long by u_int. But then again: the pointers casted to > u_int are not even 32bit-aligned! > Tom Shouldn't your compiler do this for you ? -- Paul Vlaar * * EuroNet Internet Client Services Team * * Herengracht 208 - 214 * 1016 BS Amsterdam E-mail: paulwv@nl.euro.net * Tel: +31 20 5355 300