refactored strongswan manager

removed buggy request parsing code, use ClearSilvers CGI kit instead
fixed CHILD_SA listing in manager (needs better design)
using secure XML communication through unix sockets
removed images with questionable (non-GPL) license
This commit is contained in:
Martin Willi
2007-09-26 14:02:21 +00:00
parent a9522e1600
commit c295d0eb4b
41 changed files with 722 additions and 1219 deletions
+6 -2
View File
@@ -82,12 +82,16 @@ static gateway_t* select_gateway(private_manager_t *this, int select_id)
{
if (select_id == id)
{
if (port != 0)
if (port == 0)
{
this->gateway = gateway_create_unix(name);
}
else
{
host = host_create_from_string(address, port);
if (host)
{
this->gateway = gateway_create(name, host);
this->gateway = gateway_create_tcp(name, host);
}
}
break;