From e4a1133ed478d2bc3774915f40f0a0890001bc30 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Mon, 10 Aug 2009 11:06:29 +0000 Subject: View connected clients function is called statusinfo (not 'status_info') --- openvpn-listconfigs-html.lsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-listconfigs-html.lsp b/openvpn-listconfigs-html.lsp index 498e52f..fc1f1ab 100644 --- a/openvpn-listconfigs-html.lsp +++ b/openvpn-listconfigs-html.lsp @@ -32,7 +32,7 @@ end %> <%= html.html_escape(string.gsub(config.name, "^.*/", "")) %> ><%= html.html_escape(config.type) %> <%= html.html_escape(config.status) %> - <% if ( config.type == "server" ) then %><% if ( config.clients > 0 ) then %><%= html.link{value = page_info.script .. page_info.prefix .. page_info.controller .. "/status_info?name=" .. config.name, label = config.clients } %><% else %><%= html.html_escape(config.clients) %><% end %><% end %> + <% if ( config.type == "server" ) then %><% if ( config.clients > 0 ) then %><%= html.link{value = page_info.script .. page_info.prefix .. page_info.controller .. "/statusinfo?name=" .. config.name, label = config.clients } %><% else %><%= html.html_escape(config.clients) %><% end %><% end %> <% if config.errtxt then %> <%= html.html_escape(config.errtxt) %> -- cgit v1.2.3