Show
Ignore:
Timestamp:
04/25/08 11:02:49 (5 years ago)
Author:
ahu
Message:

further randomisation improvements

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/pdns_recursor.cc

    r1170 r1179  
    272272    int tries=10; 
    273273    while(--tries) { 
    274       uint16_t port=1025+Utility::random()%64510; 
     274      uint16_t port=1025+dns_random(64510); 
    275275      if(tries==1)  // fall back to kernel 'random' 
    276276        port=0;