Init random generator before calling rand()
@ -920,6 +920,8 @@ int main (int argc, char **argv)
char *conf_path = NULL;
char *iface = NULL;
srand(time(NULL));
int remote_num = 0;
ss_addr_t remote_addr[MAX_REMOTE_NUM];
char *remote_port = NULL;