On Tue, Apr 02, 2002 at 09:56:42PM +0200, Andras Kis-Szabo wrote: > Hi, > > > In line 422 of ip6_tables.c: > > protohdr = (u_int32_t *)ipv6 + IPV6_HDR_LEN; > > it should be rewroted to: > > protohdr = (u_int32_t *)((char *)ipv6 + IPV6_HDR_LEN); > The point is Yours! It's a real problem :(
well, we actually use 'void *' typecasts all over the code, so for consistency reasons I'm going to change it to 'void *' instead of 'char *'. > Patch is included against 2.4.18. Thanks, I'll submit it to DaveM. > Regards > kisza -- Live long and prosper - Harald Welte / [EMAIL PROTECTED] http://www.gnumonks.org/ ============================================================================ GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+ V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)