- added UDP socket 500 as default socket
This commit is contained in:
@@ -217,7 +217,7 @@ static void register_signals()
|
|||||||
static status_t initialize_globals()
|
static status_t initialize_globals()
|
||||||
{
|
{
|
||||||
/* initialize global object */
|
/* initialize global object */
|
||||||
global_socket = socket_create(4500);
|
global_socket = socket_create(IKEV2_UDP_PORT);
|
||||||
global_ike_sa_manager = ike_sa_manager_create();
|
global_ike_sa_manager = ike_sa_manager_create();
|
||||||
global_job_queue = job_queue_create();
|
global_job_queue = job_queue_create();
|
||||||
global_event_queue = event_queue_create();
|
global_event_queue = event_queue_create();
|
||||||
|
|||||||
@@ -29,5 +29,7 @@
|
|||||||
|
|
||||||
#define NUMBER_OF_WORKING_THREADS 4
|
#define NUMBER_OF_WORKING_THREADS 4
|
||||||
|
|
||||||
|
#define IKEV2_UDP_PORT 500
|
||||||
|
|
||||||
|
|
||||||
#endif /*DAEMON_H_*/
|
#endif /*DAEMON_H_*/
|
||||||
|
|||||||
Reference in New Issue
Block a user