- added UDP socket 500 as default socket
authorJan Hutter <jhutter@hsr.ch>
Thu, 17 Nov 2005 08:44:28 +0000 (08:44 -0000)
committerJan Hutter <jhutter@hsr.ch>
Thu, 17 Nov 2005 08:44:28 +0000 (08:44 -0000)
Source/charon/daemon.c
Source/charon/daemon.h

index 75b3f97..8636f0b 100644 (file)
@@ -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();
index 150b145..d1df42f 100644 (file)
@@ -29,5 +29,7 @@
 
 #define NUMBER_OF_WORKING_THREADS 4
 
+#define IKEV2_UDP_PORT 500
+
 
 #endif /*DAEMON_H_*/