Suggestion: remove ICMP stat display when using "disable-icmp"

From: Steve Snyder <swsnyder@dont-contact.us>
Date: Mon, 03 Apr 2000 12:03:18 -0400 (EST)

When Squid v2.3S2 is built without the "--enable-snmp" options, no
reference to snmp is seen in the runtime messages and statistics.
That's reasonable behavior.

When the "--enable-icmp" option is used, though, references to icmp
still appear in Squid's output. For example:

  # client mgr:info | grep ICP
        Number of ICP messages received: 0
        Number of ICP messages sent: 0
        Number of queued ICP replies: 0
        ICP messages per minute: 0.0
        ICP Queries: 0.00000 0.00000

And in cache.log at startup:

  Accepting ICP messages at 0.0.0.0, port 3130, FD 16.

I am writing about a purely cosmetic issue. My desire not to have
icmp support is in fact honored by Squid. (Despite the above start-up
message, Squid is *not* using port 3130 for icmp communication.)

My suggestion: do not generate icmp statistics/messages when icmp
support is not enabled.

Thank you.

*** Steve Snyder ***
Received on Mon Apr 03 2000 - 11:06:19 MDT

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