pinger.c failed assertion

From: Niall Doherty <ndoherty@dont-contact.us>
Date: Tue, 17 Nov 1998 13:14:47 +0000

Hi Guys,

Just upgraded to 2.1.RELEASE from 2.1.PRE3+patches, platform is
Sparc-Sun-Solaris 2.5.1. Got this on startup:

  size mismatch, guess=-8140 psize=14
  pinger.c:174: failed assertion `icmp_pktsize <= MAX_PKT_SZ'

---
  diff squid-2.1.PRE3/src/pinger.c squid-2.1.RELEASE/src/pinger.c
...
  74a75
  > #if ALLOW_SOURCE_PING
  76a78,81
  > #else
  > #define MAX_PAYLOAD (sizeof(struct icmphdr) + sizeof (char) + sizeof(struct
timeval) + 1)
  > #define MAX_PKT_SZ MAX_PAYLOAD
  > #endif
  168a174
  >     assert(icmp_pktsize <= MAX_PKT_SZ);
--
Any ideas ?
Cheers,
Niall
-- 
Niall Doherty          | mailto:ndoherty@eei.ericsson.se
Systems Engineer       | http://www.ericsson.ie
Voice: +353 1 207 7506 | Ericsson Systems Expertise Ltd.,
Fax:   +353 1 207 7115 | Beech Hill, Clonskeagh, Dublin 4, Ireland.
----I-N-T-E-R-N-A-L----|-------------I-N-T-E-R-N-A-L-------------------
Department: EEI/DII/F  | Cache pgs: http://cache.ericsson.se/
ECN: 830 7506          | Home Page: http://www.eei.ericsson.se/~eeindy/
Received on Tue Nov 17 1998 - 06:33:14 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:07 MST