From: Anoop Saldanha Date: Tue, 15 May 2012 12:57:37 +0000 (+0530) Subject: indentation fix X-Git-Tag: suricata-1.3beta2~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85db868a83053f7a3b22301687684eb9941c8675;p=thirdparty%2Fsuricata.git indentation fix --- 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 {