From 85db868a83053f7a3b22301687684eb9941c8675 Mon Sep 17 00:00:00 2001 From: Anoop Saldanha Date: Tue, 15 May 2012 18:27:37 +0530 Subject: [PATCH] indentation fix --- src/detect-engine-threshold.c | 36 +++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/detect-engine-threshold.c b/src/detect-engine-threshold.c index 6d136083c9..73d808b071 100644 --- a/src/detect-engine-threshold.c +++ b/src/detect-engine-threshold.c @@ -398,24 +398,24 @@ int ThresholdHandlePacketHost(Host *h, Packet *p, DetectThresholdData *td, uint3 /* Then we must enable the new action by setting a * timeout */ lookup_tsh->tv_timeout = p->ts.tv_sec; - /* Take the action to perform */ - switch (td->new_action) { - case TH_ACTION_ALERT: - ALERT_PACKET(p); - break; - case TH_ACTION_DROP: - DROP_PACKET(p); - break; - case TH_ACTION_REJECT: - REJECT_PACKET(p); - break; - case TH_ACTION_PASS: - PASS_PACKET(p); - break; - default: - /* Weird, leave the default action */ - break; - } + /* Take the action to perform */ + switch (td->new_action) { + case TH_ACTION_ALERT: + ALERT_PACKET(p); + break; + case TH_ACTION_DROP: + DROP_PACKET(p); + break; + case TH_ACTION_REJECT: + REJECT_PACKET(p); + break; + case TH_ACTION_PASS: + PASS_PACKET(p); + break; + default: + /* Weird, leave the default action */ + break; + } ret = 1; } } else {