Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2021 10:40:43 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: fa9c65c7aa72 - stable/12 - dtrace: fix ipfw_rule_info_t translator
Message-ID:  <202109101040.18AAehcn055355@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
AuthorDate: 2021-09-02 13:35:01 +0000
Commit:     Andrey V. Elsukov <ae@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;
 };
 



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