Changeset 1084

Show
Ignore:
Timestamp:
12/19/07 08:59:24 (8 months ago)
Author:
xkovah
Message:

missed a couple lines in the modified Manager.pm, but seems to be working now

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/trunk/lib/HoneyClient/Manager.pm

    r1083 r1084  
    366366our $globalAgentState   = undef; 
    367367 
    368  
    369368#This variable is used to count how many times stubAgent's fault 
    370369#handler has been called, so that special actions can be taken if 
     
    375374#future when we have multiple Agents interacting with a single  
    376375#Manager. 
    377 our $globalAgentErrorCount
     376our $globalAgentErrorCount = 0
    378377 
    379378# Temporary variable, used to indicate to the fault handler whether 
     
    474473    #occur in other circumstances. 
    475474    $globalAgentErrorCount++; 
    476  
    477475 
    478476    # Construct error message. 
     
    892890#                                 address       => $vmIP, 
    893891                                 address       => $vm->ip_address, 
    894                                  fault_handler => \&_handleFault); 
     892                                 fault_handler => \&_agentHandleFault); 
    895893 
    896894    # Recreate the firewall stub; ignore faults. 
     
    10571055        } 
    10581056        if ($globalAgentErrorCount >= getVar(name => "max_agent_error_count")) { 
     1057            $globalAgentErrorCount = 0; 
    10591058            # Reset the FW state table.  
    10601059            $vmStateTable = ( );