William Chops Westfield wrote: > On Aug 2, 2006, at 12:32 PM, stef mientki wrote: > > >> if(header.NextPacketPointer > RXSTOP || >> ((BYTE_VAL*)(&header.NextPacketPointer))->bits.b0 || >> header.StatusVector.bits.Zero || >> header.StatusVector.bits.CRCError || >> header.StatusVector.bits.ByteCount > 1518 || >> !header.StatusVector.bits.ReceiveOk) >> { >> Reset(); >> } >> === quote ==== >> >> this trick simple resets the complete system every 10 seconds or >> so, because messages like IPX-RIP, NBIPX will trigger this reset >> >> > Huh? What's in an IPX-RIP packet that causes it to trigger > that IF statement? > Good question, which solves this problem ;-) Sorry I made a little mistake, instead of checking the ZERO bit, I checked the Length check error, which is not the standard 08 00 (ARP) or 08 06 (IP), but 00 2C which apparently ??? triggers the Length check error. thanks, Stef Mientki -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist