diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-26 15:41:21 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-26 15:41:21 +0000 |
commit | 24035375d41f1a8c219973e3701e444a9442d8b8 (patch) | |
tree | 5f927c43679e56e6211b0842ec88e28f0051ce70 /Source | |
parent | 2fd1245e699a5d1792fd9a0e0feb50088d81ee36 (diff) | |
download | strongswan-24035375d41f1a8c219973e3701e444a9442d8b8.tar.bz2 strongswan-24035375d41f1a8c219973e3701e444a9442d8b8.tar.xz |
- added localhost to config
Diffstat (limited to 'Source')
-rw-r--r-- | Source/charon/config/configuration_manager.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/charon/config/configuration_manager.c b/Source/charon/config/configuration_manager.c index cc547dbbd..ffff0acf6 100644 --- a/Source/charon/config/configuration_manager.c +++ b/Source/charon/config/configuration_manager.c @@ -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); } + else if (strcmp(name, "localhost") == 0) + { + remote = host_create(AF_INET, "127.0.0.1", 500); + } else { status = NOT_FOUND; |