[Bug 291936] usr/src/usr.sbin/bsnmpd/motules/snmp_pf/pf_snmp.c: r

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 Dec 2025 15:41:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291936

            Bug ID: 291936
           Summary: usr/src/usr.sbin/bsnmpd/motules/snmp_pf/pf_snmp.c: r
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: rootnode+freebsd@wollwage.com

Created attachment 266523
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266523&action=edit
Patch to remove errno after pfctl_get_status

In https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291607, during review of
the patch, it turned out that the change to pfctl_get_status as opposed to the
DIOCRGETTSTATS cannot rely on the errno anymore and might yield misleading
results.

This patch attempts to fix that.

-- 
You are receiving this mail because:
You are the assignee for the bug.