Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 8311 invoked by uid 6000); 17 Jun 1999 19:10:06 -0000 Received: (qmail 8272 invoked by uid 2001); 17 Jun 1999 19:10:01 -0000 Received: (qmail 2648 invoked by uid 2012); 17 Jun 1999 19:03:34 -0000 Message-Id: <19990617190334.2642.qmail@hyperreal.org> Date: 17 Jun 1999 19:03:34 -0000 From: Ronald "Tschal�r" Reply-To: ronald@trustpoint.com To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: mod_jserv/4601: PATCH: The status page lists the wrong address in the mount table Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 4601 >Category: mod_jserv >Synopsis: PATCH: The status page lists the wrong address in the mount table >Confidential: no >Severity: non-critical >Priority: medium >Responsible: jserv >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Jun 17 12:10:00 PDT 1999 >Last-Modified: >Originator: ronald@trustpoint.com >Organization: apache >Release: any; ApacheJserv-1.0 >Environment: All OS's >Description: In the JServ status page, the wrong address (but correct host name) is printed in the mount table. The problem is that the variable "network_address" is not updated when you iterate through the mount points. >How-To-Repeat: Use a mount pointing to a non-default host >Fix: Here's the patch: --- jserv_status.c.orig Sun Apr 25 17:41:11 1999 +++ jserv_status.c Thu Jun 17 11:47:53 1999 @@ -459,6 +459,7 @@ cur=cfg->mount; ap_reset_timeout(r); while (cur!=NULL) { + network_address.s_addr = cur->hostaddr; ap_rputs(" \n",r); jserv_status_out_table(r,"#f0f0f0","valign=top align=left", "%s",cur->mountpoint); >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]