- Added 'agenttypecheck' switch.
This commit is contained in:
@@ -66,6 +66,7 @@ switchesInit (int argc, char **argv)
|
||||
// Arachne
|
||||
switches.arachneSelector = 3; // default goal selection method
|
||||
switches.maxIntruderActions = INT_MAX; // max number of encrypt/decrypt events
|
||||
switches.agentTypecheck = 1; // default do check agent types
|
||||
|
||||
// Misc
|
||||
switches.switchP = 0; // multi-purpose parameter
|
||||
@@ -558,6 +559,19 @@ switcher (const int process, int index)
|
||||
}
|
||||
}
|
||||
|
||||
if (detect (' ', "disable-agenttypecheck", 0))
|
||||
{
|
||||
if (!process)
|
||||
{
|
||||
/* maybe add after testing */
|
||||
}
|
||||
else
|
||||
{
|
||||
switches.agentTypecheck = 0;
|
||||
return index;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
/* ==================
|
||||
* Experimental options
|
||||
|
||||
Reference in New Issue
Block a user