git: 5c8e8e82aeaf - main - dtrace: fix ipfw_rule_info_t translator
Andrey V. Elsukov
ae at FreeBSD.org
Thu Sep 2 13:41:01 UTC 2021
The branch main has been updated by ae:
URL: https://cgit.FreeBSD.org/src/commit/?id=5c8e8e82aeaf3aa788acdd6cfca30ef09094230d
commit 5c8e8e82aeaf3aa788acdd6cfca30ef09094230d
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-02 13:35:01 +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>
MFC after: 1 week
---
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 61d1388c2685..3db51da04887 100644
--- a/share/dtrace/ipfw.d
+++ b/share/dtrace/ipfw.d
@@ -212,8 +212,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-main
mailing list