git: fa9c65c7aa72 - stable/12 - dtrace: fix ipfw_rule_info_t translator
Andrey V. Elsukov
ae at FreeBSD.org
Fri Sep 10 10:40:44 UTC 2021
The branch stable/12 has been updated by ae:
URL: https://cgit.FreeBSD.org/src/commit/?id=fa9c65c7aa72e06a197f7850d5550319844329e0
commit fa9c65c7aa72e06a197f7850d5550319844329e0
Author: Andrey V. Elsukov <ae at FreeBSD.org>
AuthorDate: 2021-09-02 13:35:01 +0000
Commit: Andrey V. Elsukov <ae at FreeBSD.org>
CommitDate: 2021-09-10 10:39:51 +0000
dtrace: fix ipfw_rule_info_t translator
322e5efda8578b has changed field names in the struct ip_fw.
Use correct names in ipfw_rule_info_t translator in the ipfw.d script.
Reported by: Keith White <kwhite uottawa at gmail>
(cherry picked from commit 5c8e8e82aeaf3aa788acdd6cfca30ef09094230d)
---
share/dtrace/ipfw.d | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/share/dtrace/ipfw.d b/share/dtrace/ipfw.d
index 0d556e5e3773..e863ad2ebf91 100644
--- a/share/dtrace/ipfw.d
+++ b/share/dtrace/ipfw.d
@@ -196,8 +196,8 @@ translator ipfw_rule_info_t < struct ip_fw *r > {
flags = r->flags;
set = r->set;
rule_id = r->id;
- cached_id = r->cached_id;
- cached_pos = r->cached_pos;
+ cached_id = r->cache.id;
+ cached_pos = r->cache.pos;
refcnt = r->refcnt;
};
More information about the dev-commits-src-all
mailing list