Commit 0eae7322 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Use a receive buffer of at least 1500 bytes.

Babel nodes are required to be able to receive 1280 byte packets.
parent f9b34a02
......@@ -499,13 +499,11 @@ main(int argc, char **argv)
}
init_signals();
resize_receive_buffer(1500);
check_networks();
if(receive_buffer == NULL) {
fprintf(stderr, "Warning: couldn't find any operational interfaces.\n");
resize_receive_buffer(1500);
if(receive_buffer == NULL)
goto fail;
}
if(receive_buffer == NULL)
goto fail;
check_xroutes(0);
kernel_routes_changed = 0;
kernel_link_changed = 0;
......
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