Unverified Commit f48ede36 authored by Rohan's avatar Rohan

Randomize PFCP sequence number

parent 80ce0285
...@@ -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