Set payload no inspect flag for packets with encapsulated packets as these are inspected separately

remotes/origin/master-1.0.x
Victor Julien 15 years ago
parent 9ececacda3
commit 56556eb550

@ -249,6 +249,11 @@ Packet *TunnelPktSetup(ThreadVars *t, DecodeThreadVars *dtv, Packet *parent, uin
/* set tunnel flags */
SET_TUNNEL_PKT(p);
TUNNEL_INCR_PKT_TPR(p);
/* disable payload (not packet) inspection on the parent, as the payload
* is the packet we will now run through the system separately. We do
* check it against the ip/port/other header checks though */
DecodeSetNoPayloadInspectionFlag(parent);
return p;
}

Loading…
Cancel
Save