Changeset 1179 for trunk/pdns/pdns/pdns_recursor.cc
- Timestamp:
- 04/25/08 11:02:49 (5 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/pdns_recursor.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/pdns_recursor.cc
r1170 r1179 272 272 int tries=10; 273 273 while(--tries) { 274 uint16_t port=1025+ Utility::random()%64510;274 uint16_t port=1025+dns_random(64510); 275 275 if(tries==1) // fall back to kernel 'random' 276 276 port=0;