Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2021 10:36:11 GMT
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a83a49502989 - stable/13 - dtrace: fix ipfw_rule_info_t translator
Message-ID:  <202109101036.18AAaBie045166@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by ae:

URL: https://cgit.FreeBSD.org/src/commit/?id=a83a495029898491ddd070d96ce183fa2796a2c2

commit a83a495029898491ddd070d96ce183fa2796a2c2
Author:     Andrey V. Elsukov <ae@FreeBSD.org>
AuthorDate: 2021-09-02 13:35:01 +0000
Commit:     Andrey V. Elsukov <ae@FreeBSD.org>
CommitDate: 2021-09-10 10:35:35 +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 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;
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109101036.18AAaBie045166>