]> granicus.if.org Git - apache/commitdiff
* Preset the form fields for route and redirect with the values of the active
authorRuediger Pluem <rpluem@apache.org>
Wed, 6 Jun 2007 20:02:56 +0000 (20:02 +0000)
committerRuediger Pluem <rpluem@apache.org>
Wed, 6 Jun 2007 20:02:56 +0000 (20:02 +0000)
  configuration in the scoreboard and not with the ones loaded from the
  configuration files.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@544930 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_balancer.c

index 63e5ca808fef69a38f38056ffb4025d6137d6943..c82e24aecbd7594dc82358ec1d75d744318442f1 100644 (file)
@@ -816,10 +816,10 @@ static int balancer_handler(request_rec *r)
             ap_rputs("<tr><td>LB Set:</td><td><input name=\"ls\" type=text ", r);
             ap_rprintf(r, "value=\"%d\"></td></tr>\n", wsel->s->lbset);
             ap_rputs("<tr><td>Route:</td><td><input name=\"wr\" type=text ", r);
-            ap_rvputs(r, "value=\"", wsel->route, NULL);
+            ap_rvputs(r, "value=\"", wsel->s->route, NULL);
             ap_rputs("\"></td></tr>\n", r);
             ap_rputs("<tr><td>Route Redirect:</td><td><input name=\"rr\" type=text ", r);
-            ap_rvputs(r, "value=\"", wsel->redirect, NULL);
+            ap_rvputs(r, "value=\"", wsel->s->redirect, NULL);
             ap_rputs("\"></td></tr>\n", r);
             ap_rputs("<tr><td>Status:</td><td>Disabled: <input name=\"dw\" value=\"Disable\" type=radio", r);
             if (wsel->s->status & PROXY_WORKER_DISABLED)