diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/nmap/nmap.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/nmap/nmap.inc b/config/nmap/nmap.inc index bb4494a5..4d3b884a 100644 --- a/config/nmap/nmap.inc +++ b/config/nmap/nmap.inc @@ -67,10 +67,8 @@ function nmap_custom_php_validation_command($post, &$input_errors) { function nmap_custom_add_php_command() { $nmap_options = ""; - if (function_exists("is_ipaddrv6") && function_exists("is_subnetv6")) { - if (is_ipaddrv6($_POST['hostname']) || is_subnetv6($_POST['hostname'])) { + if (is_ipaddrv6($_POST['hostname']) || is_subnetv6($_POST['hostname'])) { $nmap_options .= " -6"; - } } switch($_POST['scanmethod']) { |