diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2021-09-02 13:35:01 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2021-09-02 13:35:01 +0000 |
commit | 5c8e8e82aeaf3aa788acdd6cfca30ef09094230d (patch) | |
tree | 0759c41d1b22c8159836b9c430ac0f7303f8bbeb /share/dtrace | |
parent | 9bb8304c10122dfd52187b169b9e0293fd499065 (diff) | |
download | src-5c8e8e82aeaf3aa788acdd6cfca30ef09094230d.tar.gz src-5c8e8e82aeaf3aa788acdd6cfca30ef09094230d.zip |
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
Diffstat (limited to 'share/dtrace')
-rw-r--r-- | share/dtrace/ipfw.d | 4 |
1 files 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; }; |