Date: Fri, 19 Mar 2010 09:53:25 +0000 (UTC) From: Shteryana Shopova <syrinx@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/bsnmpd/modules/snmp_pf pf_snmp.c Message-ID: <201003190953.o2J9rmu2087180@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
syrinx 2010-03-19 09:53:25 UTC
FreeBSD src repository
Modified files:
usr.sbin/bsnmpd/modules/snmp_pf pf_snmp.c
Log:
SVN rev 205312 on 2010-03-19 09:53:25Z by syrinx
Make sure the snmp_pf module will first refresh its entires if necessary,
then find a specific entry, and get the requested value. So far, it found
the specific entry, refreshed the entry list if necessary, and got the
requested value from the found entry. The problem is that refreshing nukes
all old entries and replaces them with new ones and the obtained entry
pointer was no longer valid after the refresh.
Reviewed by: bz, philip
MFC after: 1 week
Revision Changes Path
1.12 +12 -12 src/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003190953.o2J9rmu2087180>
