]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
add Squid/version to Forwarded:
authorwessels <>
Fri, 18 Oct 1996 00:09:47 +0000 (00:09 +0000)
committerwessels <>
Fri, 18 Oct 1996 00:09:47 +0000 (00:09 +0000)
src/cache_cf.cc

index d392ce76bbebc9fdca990cdeafa994593573dccb..5516f78b04994635311bbec0e3bc649e6ef46117 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: cache_cf.cc,v 1.111 1996/10/15 18:06:22 wessels Exp $
+ * $Id: cache_cf.cc,v 1.112 1996/10/17 18:09:47 wessels Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -1597,8 +1597,8 @@ static void
 configDoConfigure(void)
 {
     httpd_accel_mode = Config.Accel.prefix ? 1 : 0;
-    sprintf(ForwardedBy, "Forwarded: by http://%s:%d/",
-       getMyHostname(), Config.Port.http);
+    sprintf(ForwardedBy, "Forwarded: by http://%s:%d/ (Squid/%s)",
+       getMyHostname(), Config.Port.http, SQUID_VERSION);
     if (Config.errHtmlText == NULL)
        Config.errHtmlText = xstrdup(null_string);
     storeConfigure();