Page MenuHomeFreeBSD

D48422.diff
No OneTemporary

D48422.diff

diff --git a/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c b/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
--- a/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
+++ b/usr.sbin/bsnmpd/tools/bsnmptools/bsnmpget.c
@@ -502,7 +502,7 @@
outputs += rc;
- if ((u_int)rc < resp.nbindings) {
+ if ((u_int)rc < resp.nbindings || resp.nbindings == 0) {
snmp_pdu_free(&resp);
break;
}

File Metadata

Mime Type
text/plain
Expires
Sat, Jan 11, 8:48 PM (11 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15757587
Default Alt Text
D48422.diff (391 B)

Event Timeline