Changeset 920

Show
Ignore:
Timestamp:
12/30/07 11:13:52 (11 months ago)
Author:
mbr
Message:

- Added srand() call to the fwknop client (this is useful for older
versions of perl which do not automatically call srand() at the first
rand() call if srand() was not already called).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • fwknop/trunk/ChangeLog

    r919 r920  
    1717    - Added SIGALRM wrapper to the test suite since some lippcap and system 
    1818      combinations break the ability of fwknopd to sniff packets. 
     19    - Added srand() call to the fwknop client (this is useful for older 
     20      versions of perl which do not automatically call srand() at the first 
     21      rand() call if srand() was not already called). 
    1922 
    2023fwknop-1.9.0 (12/15/2007): 
  • fwknop/trunk/fwknop

    r913 r920  
    188188die "[*] Server auth method not supported in FORWARD access mode.\n" 
    189189    if $server_auth_method and $forward_access_str; 
     190 
     191### this is only necessary for older versions of perl (newer versions 
     192### call srand() automatically at the first usage of rand() if srand() 
     193### was not already called). 
     194srand(); 
    190195 
    191196&get_homedir();