Author: cfi
Date: 2016-10-12 10:00:38 +0200 (Wed, 12 Oct 2016)
New Revision: 26370

Modified:
   trunk/tools/nasl.vim
   trunk/tools/vim_autocomplete_nasl_func_names
Log:
Updated functions.


Modified: trunk/tools/nasl.vim
===================================================================
--- trunk/tools/nasl.vim        2016-10-11 19:54:40 UTC (rev 26369)
+++ trunk/tools/nasl.vim        2016-10-12 08:00:38 UTC (rev 26370)
@@ -920,6 +920,8 @@
 " get_http_port
 syn region     naslFuncXget_http_port  matchgroup=naslFuncXget_http_port 
start=+get_http_port\s*(+ end=+)+ 
contains=naslArgNest,naslArgXget_http_port,@naslArgValues,@naslNestedFunctions
 syn match      naslArgXget_http_port   /default\:/ contained
+syn match      naslArgXget_http_port   /ignore_broken\:/ contained
+syn match      naslArgXget_http_port   /ignore_cgi_disabled\:/ contained
 
 " php_ver_match
 syn region     naslFuncXphp_ver_match  matchgroup=naslFuncXphp_ver_match 
start=+php_ver_match\s*(+ end=+)+ 
contains=naslArgNest,naslArgXphp_ver_match,@naslArgValues,@naslNestedFunctions

Modified: trunk/tools/vim_autocomplete_nasl_func_names
===================================================================
--- trunk/tools/vim_autocomplete_nasl_func_names        2016-10-11 19:54:40 UTC 
(rev 26369)
+++ trunk/tools/vim_autocomplete_nasl_func_names        2016-10-12 08:00:38 UTC 
(rev 26370)
@@ -155,9 +155,9 @@
 get_host_ip()
 get_host_name()
 get_host_open_port()
-get_http_banner( port, file )
+get_http_banner( port, file, ignore_broken )
 get_http_page( port, url, redirect )
-get_http_port( default )
+get_http_port( default, ignore_broken, ignore_cgi_disabled )
 get_icmp_element( element, icmp )
 get_imap_banner ( port )
 get_imap_port ( default )

_______________________________________________
Openvas-commits mailing list
Openvas-commits@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-commits

Reply via email to