mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-19 16:23:29 +00:00
pf: Fix osfp configuration
pf_rule_to_krule() incorrectly converted the rule osfp configuration to the krule structure. Reported by: delphij@ MFC after: 3 days
This commit is contained in:
parent
0a4f851074
commit
2ed689a674
|
@ -1623,7 +1623,7 @@ pf_rule_to_krule(const struct pf_rule *rule, struct pf_krule *krule)
|
|||
/* Don't allow userspace to set evaulations, packets or bytes. */
|
||||
/* kif, anchor, overload_tbl are not copied over. */
|
||||
|
||||
krule->os_fingerprint = krule->os_fingerprint;
|
||||
krule->os_fingerprint = rule->os_fingerprint;
|
||||
|
||||
krule->rtableid = rule->rtableid;
|
||||
bcopy(rule->timeout, krule->timeout, sizeof(krule->timeout));
|
||||
|
|
Loading…
Reference in a new issue