From c1638d7172aaba3cb94e53f3b093e34cd6d1af62 Mon Sep 17 00:00:00 2001 From: Jon Siwek Date: Mon, 20 Jun 2011 13:49:30 -0500 Subject: [PATCH] Fix logging remote tests to use new policy script organization. --- testing/btest/logging/remote-types.bro | 6 +++--- testing/btest/logging/remote.bro | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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] };