www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald "Tschalär" <ron...@trustpoint.com>
Subject mod_jserv/4601: PATCH: The status page lists the wrong address in the mount table
Date Thu, 17 Jun 1999 19:03:34 GMT

>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("  <tr>\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 <apbugs@Apache.Org> 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!     ]




Mime
View raw message