Commit 316dc4db authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Print warning if no interfaces are operational.

parent 2a831496
......@@ -343,7 +343,7 @@ main(int argc, char **argv)
}
if(receive_buffer == NULL) {
/* No networks currently up ? */
fprintf(stderr, "Warning: couldn't find any operational interfaces.\n");
resize_receive_buffer(1500);
if(receive_buffer == NULL)
goto fail;
......
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