From d7be90c3ca2d32498c6ec24fb796a39490f31584 Mon Sep 17 00:00:00 2001 From: Daniel Thayer Date: Wed, 15 Aug 2018 10:30:09 -0500 Subject: [PATCH] Remove unused redef-able constants --- scripts/base/protocols/dns/main.bro | 5 ----- scripts/base/utils/exec.bro | 3 --- 2 files changed, 8 deletions(-) diff --git a/scripts/base/protocols/dns/main.bro b/scripts/base/protocols/dns/main.bro index 127a06b5a0..c98f0b2201 100644 --- a/scripts/base/protocols/dns/main.bro +++ b/scripts/base/protocols/dns/main.bro @@ -113,11 +113,6 @@ export { ## DNS message query/transaction ID. type PendingMessages: table[count] of Queue::Queue; - ## The amount of time that DNS queries or replies for a given - ## query/transaction ID are allowed to be queued while waiting for - ## a matching reply or query. - const pending_msg_expiry_interval = 2min &redef; - ## Give up trying to match pending DNS queries or replies for a given ## query/transaction ID once this number of unmatched queries or replies ## is reached (this shouldn't happen unless either the DNS server/resolver diff --git a/scripts/base/utils/exec.bro b/scripts/base/utils/exec.bro index 61488a1249..5079396bbc 100644 --- a/scripts/base/utils/exec.bro +++ b/scripts/base/utils/exec.bro @@ -42,9 +42,6 @@ export { ## Returns: A record representing the full results from the ## external program execution. global run: function(cmd: Command): Result; - - ## The system directory for temporary files. - const tmp_dir = "/tmp" &redef; } # Indexed by command uid.