HomeFreeBSD

pf: include anchor path when hashing a rule

Description

pf: include anchor path when hashing a rule

Otherwise all anchors hash to the same value.

Note this can result in checksum mismatches between pfsynced hosts,
but it has to be sorted out as the previously computed checksum
would fail to indicate changed anchors.

Reviewed by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
mjgAuthored on Mar 21 2022, 4:34 PM
Parents
rG1b8b69508bc5: routing: copy nexthop fib when changing existing nexthop
Branches
Unknown
Tags
Unknown