From 0e96f7d8c3aefaa1717f4c30e66fdc459d3f2ecc Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 29 Nov 2005 10:25:07 +0000 Subject: - globals packed in a daemon --- Source/charon/config/configuration_manager.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/charon/config/configuration_manager.c') diff --git a/Source/charon/config/configuration_manager.c b/Source/charon/config/configuration_manager.c index e39d7c8e8..0ab8129b4 100644 --- a/Source/charon/config/configuration_manager.c +++ b/Source/charon/config/configuration_manager.c @@ -27,7 +27,7 @@ #include "configuration_manager.h" #include -#include +#include #include #include #include @@ -76,7 +76,7 @@ static status_t get_remote_host(private_configuration_manager_t *this, char *nam } else if (strcmp(name, "localhost") == 0) { - remote = host_create(AF_INET, "127.0.0.1", 4500); + remote = host_create(AF_INET, "127.0.0.1", 500); } else { @@ -277,7 +277,7 @@ static status_t destroy(private_configuration_manager_t *this) this->logger->log(this->logger,CONTROL | MORE, "Going to destroy configuration manager "); this->logger->log(this->logger,CONTROL | MOST, "Destroy assigned logger"); - global_logger_manager->destroy_logger(global_logger_manager,this->logger); + charon->logger_manager->destroy_logger(charon->logger_manager,this->logger); allocator_free(this); return SUCCESS; } @@ -300,7 +300,7 @@ configuration_manager_t *configuration_manager_create() this->public.is_dh_group_allowed_for_host = (status_t(*)(configuration_manager_t*,host_t*,diffie_hellman_group_t,bool*)) is_dh_group_allowed_for_host; /* private variables */ - this->logger = global_logger_manager->create_logger(global_logger_manager,CONFIGURATION_MANAGER,NULL); + this->logger = charon->logger_manager->create_logger(charon->logger_manager,CONFIGURATION_MANAGER,NULL); return (&this->public); } -- cgit v1.2.3