- added localhost to config

This commit is contained in:
Martin Willi
2005-11-26 15:41:21 +00:00
parent 2fd1245e69
commit 24035375d4
@@ -74,6 +74,10 @@ static status_t get_remote_host(private_configuration_manager_t *this, char *nam
{ {
remote = host_create(AF_INET, "152.96.193.131", 500); remote = host_create(AF_INET, "152.96.193.131", 500);
} }
else if (strcmp(name, "localhost") == 0)
{
remote = host_create(AF_INET, "127.0.0.1", 500);
}
else else
{ {
status = NOT_FOUND; status = NOT_FOUND;