diff --git a/testing/btest/logging/remote-types.bro b/testing/btest/logging/remote-types.bro index ecf3e96bc5..95088b257c 100644 --- a/testing/btest/logging/remote-types.bro +++ b/testing/btest/logging/remote-types.bro @@ -51,7 +51,7 @@ event bro_init() module SSH; -@load listen-clear +@load communication/listen-clear event remote_connection_handshake_done(p: event_peer) { @@ -84,9 +84,9 @@ event remote_connection_handshake_done(p: event_peer) ##### -@load remote +@load communication -redef Remote::destinations += { +redef Communication::nodes += { ["foo"] = [$host = 127.0.0.1, $connect=T, $request_logs=T] }; diff --git a/testing/btest/logging/remote.bro b/testing/btest/logging/remote.bro index cd0a361b7c..b148b66c1a 100644 --- a/testing/btest/logging/remote.bro +++ b/testing/btest/logging/remote.bro @@ -40,7 +40,7 @@ event bro_init() module SSH; -@load listen-clear +@load communication/listen-clear function fail(rec: Log): bool { @@ -68,9 +68,9 @@ event remote_connection_handshake_done(p: event_peer) ##### -@load remote +@load communication -redef Remote::destinations += { +redef Communication::nodes += { ["foo"] = [$host = 127.0.0.1, $connect=T, $request_logs=T] };