From be9d4556f6f3db3331f60b8bd161e9f9e711d1c8 Mon Sep 17 00:00:00 2001 From: Daniel Thayer Date: Thu, 30 Aug 2018 00:07:48 -0500 Subject: [PATCH] Update NEWS with more info about runtime options --- NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NEWS b/NEWS index 7c6312aedb..0e3d168efa 100644 --- a/NEWS +++ b/NEWS @@ -120,6 +120,15 @@ New Functionality not send the change to any other nodes, so Config::set_value should typically be used instead of Option::set. + Various redef-able constants in the standard Bro scripts have + been converted to runtime options. This change will not affect any + user scripts because the initial value of runtime options can be + redefined with a "redef" declaration. Example: + + option testvar = "old value"; + + redef testvar = "new value"; + It is possible to "subscribe" to an option through Option::set_change_handler, which will trigger a handler callback when an option changes. Change handlers can optionally modify