Commit 33b61730 authored by Olav Kvittem's avatar Olav Kvittem
Browse files

buffersize error in packet generation

parent ba4bd438
......@@ -795,6 +795,10 @@ int read_cfg(FILE *infile)
if(sizeof(struct udp_data) > max_packet_size){
max_packet_size = sizeof(struct udp_data);
RUDEBUG7("read_cfg() - max_packet_size for udp_data set to %d\n",max_packet_size);
if(temp->params.cbr.psize > max_packet_size){
max_packet_size = temp->params.cbr.psize;
RUDEBUG7("read_cfg() - max_packet_size set to %d\n",max_packet_size);
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