Support #87 » 0002-Ensure-that-the-flow-has-the-IPONLY-flag-src-or-dst.patch
| src/detect.c | ||
|---|---|---|
|
p->flow->iponly_action = p->action;
|
||
|
FlowSetIPOnlyFlag(p->flow, p->flowflags & FLOW_PKT_TOSERVER ? 1 : 0);
|
||
|
}
|
||
|
} else if (p->flow != NULL && p->flow->iponly_action) {
|
||
|
} else if (((p->flowflags & FLOW_PKT_TOSERVER && (p->flowflags & FLOW_PKT_TOSERVER_IPONLY_SET)) ||
|
||
|
(p->flowflags & FLOW_PKT_TOCLIENT && (p->flowflags & FLOW_PKT_TOCLIENT_IPONLY_SET))) &&
|
||
|
p->flow != NULL && p->flow->iponly_action != 0) {
|
||
|
/* Get the result of the first IPOnlyMatch() */
|
||
|
p->action |= p->flow->iponly_action;
|
||
|
}
|
||
- « Previous
- 1
- 2
- Next »