Remove Port directive from ini file
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ static float tv2fl(struct timeval tv)
|
||||
return (float)(tv.tv_sec*1000.0) + (float)(tv.tv_usec/1000.0);
|
||||
}
|
||||
|
||||
static void stat(int sig)
|
||||
static void stat(int /*sig*/)
|
||||
{
|
||||
int loss = sent_pkt ? (float)((sent_pkt-recv_pkt)/(sent_pkt/100.0)) : 0;
|
||||
printf("%d sent, %d received, %d%% loss\n", sent_pkt, recv_pkt, loss);
|
||||
|
||||
Reference in New Issue
Block a user