Commit 8fecb09
committed
pfctl: store correct ticket type
When loading a new rule only persist the ticket if we're actually looking at a
filter rule. We need that ticket type later if we have to create tables, but we
need the ticket for the correct ruleset.
Fixes: 9dfc5e0 ("pfctl: allow tables to be defined inside anchors")
Reported by: Florian Smeets <[email protected]>
MFC after: 3 days
Sponsored by: Rubicon Communications, LLC ("Netgate")1 parent c943e6f commit 8fecb09
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2183 | 2183 | | |
2184 | 2184 | | |
2185 | 2185 | | |
| 2186 | + | |
2186 | 2187 | | |
2187 | 2188 | | |
2188 | 2189 | | |
| |||
2192 | 2193 | | |
2193 | 2194 | | |
2194 | 2195 | | |
2195 | | - | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
2196 | 2199 | | |
2197 | 2200 | | |
2198 | 2201 | | |
| |||
2225 | 2228 | | |
2226 | 2229 | | |
2227 | 2230 | | |
2228 | | - | |
| 2231 | + | |
2229 | 2232 | | |
2230 | 2233 | | |
2231 | 2234 | | |
| |||
0 commit comments