From d60a48f945e1dabce55593a1b2bb6b97138d58c0 Mon Sep 17 00:00:00 2001 From: Jan Hutter Date: Thu, 17 Nov 2005 08:44:28 +0000 Subject: [PATCH] - added UDP socket 500 as default socket --- Source/charon/daemon.c | 2 +- Source/charon/daemon.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/charon/daemon.c b/Source/charon/daemon.c index 75b3f9724..8636f0b46 100644 --- a/Source/charon/daemon.c +++ b/Source/charon/daemon.c @@ -217,7 +217,7 @@ static void register_signals() static status_t initialize_globals() { /* initialize global object */ - global_socket = socket_create(4500); + global_socket = socket_create(IKEV2_UDP_PORT); global_ike_sa_manager = ike_sa_manager_create(); global_job_queue = job_queue_create(); global_event_queue = event_queue_create(); diff --git a/Source/charon/daemon.h b/Source/charon/daemon.h index 150b145af..d1df42f88 100644 --- a/Source/charon/daemon.h +++ b/Source/charon/daemon.h @@ -29,5 +29,7 @@ #define NUMBER_OF_WORKING_THREADS 4 +#define IKEV2_UDP_PORT 500 + #endif /*DAEMON_H_*/