Commit 0bc2e054 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Merge branch 'pfcp_seq_num_fix' into 'develop'

Randomize PFCP sequence number

See merge request oai/cn5g/oai-cn5g-smf!54
parents 7783f0bc f48ede36
...@@ -52,7 +52,7 @@ pfcp_l4_stack::pfcp_l4_stack( ...@@ -52,7 +52,7 @@ pfcp_l4_stack::pfcp_l4_stack(
timespec ts; timespec ts;
clock_gettime(CLOCK_REALTIME, &ts); clock_gettime(CLOCK_REALTIME, &ts);
seq_num = 0; //(uint32_t)ts.tv_nsec & 0x7FFFFFFF; seq_num = (uint32_t)ts.tv_nsec & 0x7FFFFFFF;
restart_counter = 0; restart_counter = 0;
udp_s_8805.start_receive(this, sched_params); udp_s_8805.start_receive(this, sched_params);
udp_s_allocated.start_receive(this, sched_params); udp_s_allocated.start_receive(this, sched_params);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment