Changeset 1084
- Timestamp:
- 12/19/07 08:59:24 (8 months ago)
- Files:
-
- honeyclient/trunk/lib/HoneyClient/Manager.pm (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
honeyclient/trunk/lib/HoneyClient/Manager.pm
r1083 r1084 366 366 our $globalAgentState = undef; 367 367 368 369 368 #This variable is used to count how many times stubAgent's fault 370 369 #handler has been called, so that special actions can be taken if … … 375 374 #future when we have multiple Agents interacting with a single 376 375 #Manager. 377 our $globalAgentErrorCount ;376 our $globalAgentErrorCount = 0; 378 377 379 378 # Temporary variable, used to indicate to the fault handler whether … … 474 473 #occur in other circumstances. 475 474 $globalAgentErrorCount++; 476 477 475 478 476 # Construct error message. … … 892 890 # address => $vmIP, 893 891 address => $vm->ip_address, 894 fault_handler => \&_ handleFault);892 fault_handler => \&_agentHandleFault); 895 893 896 894 # Recreate the firewall stub; ignore faults. … … 1057 1055 } 1058 1056 if ($globalAgentErrorCount >= getVar(name => "max_agent_error_count")) { 1057 $globalAgentErrorCount = 0; 1059 1058 # Reset the FW state table. 1060 1059 $vmStateTable = ( );
