Browse Source

add srand before rand

pull/83/head
Zeray Rice 10 years ago
parent
commit
de98597b75
1 changed files with 2 additions and 0 deletions
  1. 2
      src/local.c

2
src/local.c

@ -914,6 +914,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;

Loading…
Cancel
Save