From 93c094fff2b21b4b0ac8ae19089bceb101a5258a Mon Sep 17 00:00:00 2001 From: Vlad Grigorescu Date: Thu, 1 Nov 2018 14:23:06 -0500 Subject: [PATCH] Switch GridFTP options from redef to option --- scripts/base/protocols/ftp/gridftp.bro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/base/protocols/ftp/gridftp.bro b/scripts/base/protocols/ftp/gridftp.bro index 38f6d8186c..cdbe354a08 100644 --- a/scripts/base/protocols/ftp/gridftp.bro +++ b/scripts/base/protocols/ftp/gridftp.bro @@ -30,15 +30,15 @@ module GridFTP; export { ## Number of bytes transferred before guessing a connection is a ## GridFTP data channel. - const size_threshold = 1073741824 &redef; + option size_threshold = 1073741824; ## Time during which we check whether a connection's size exceeds the ## :bro:see:`GridFTP::size_threshold`. - const max_time = 2 min &redef; + option max_time = 2 min; ## Whether to skip further processing of the GridFTP data channel once ## detected, which may help performance. - const skip_data = T &redef; + option skip_data = T; ## Raised when a GridFTP data channel is detected. ##