indentation fix

remotes/origin/HEAD
Anoop Saldanha 13 years ago committed by Victor Julien
parent c34713321a
commit 85db868a83

@ -398,24 +398,24 @@ int ThresholdHandlePacketHost(Host *h, Packet *p, DetectThresholdData *td, uint3
/* Then we must enable the new action by setting a /* Then we must enable the new action by setting a
* timeout */ * timeout */
lookup_tsh->tv_timeout = p->ts.tv_sec; lookup_tsh->tv_timeout = p->ts.tv_sec;
/* Take the action to perform */ /* Take the action to perform */
switch (td->new_action) { switch (td->new_action) {
case TH_ACTION_ALERT: case TH_ACTION_ALERT:
ALERT_PACKET(p); ALERT_PACKET(p);
break; break;
case TH_ACTION_DROP: case TH_ACTION_DROP:
DROP_PACKET(p); DROP_PACKET(p);
break; break;
case TH_ACTION_REJECT: case TH_ACTION_REJECT:
REJECT_PACKET(p); REJECT_PACKET(p);
break; break;
case TH_ACTION_PASS: case TH_ACTION_PASS:
PASS_PACKET(p); PASS_PACKET(p);
break; break;
default: default:
/* Weird, leave the default action */ /* Weird, leave the default action */
break; break;
} }
ret = 1; ret = 1;
} }
} else { } else {

Loading…
Cancel
Save