mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Revert "pflog: log packet dropped by default rule with drop"
This reverts commit 385d8a743d.
This commit is contained in:
parent
6e45a8db84
commit
9e13217d32
1 changed files with 1 additions and 3 deletions
|
|
@ -230,9 +230,7 @@ pflog_packet(struct pfi_kkif *kif, struct mbuf *m, sa_family_t af,
|
|||
bzero(&hdr, sizeof(hdr));
|
||||
hdr.length = PFLOG_REAL_HDRLEN;
|
||||
hdr.af = af;
|
||||
/* Default rule does not pass packets dropped for other reasons. */
|
||||
hdr.action = (rm->nr == (u_int32_t)-1 && reason != PFRES_MATCH) ?
|
||||
PF_DROP : rm->action;
|
||||
hdr.action = rm->action;
|
||||
hdr.reason = reason;
|
||||
memcpy(hdr.ifname, kif->pfik_name, sizeof(hdr.ifname));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue