- Merge in fix for upstream Bug ID 3480541
- Do not bump PORTREVISION as this is a minor edit and I plan to include additional patches in the near future Requested by: Alexey Kouznetsov <alexey@kouznetsov.com>
This commit is contained in:
parent
2ef262eb0f
commit
1e265d2ad4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291293
1 changed files with 11 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
--- ./agent/mibgroup/ucd-snmp/disk_hw.c.orig 2012-01-27 09:51:02.000000000 -0500
|
||||
+++ ./agent/mibgroup/ucd-snmp/disk_hw.c 2012-01-27 09:51:54.000000000 -0500
|
||||
--- ./agent/mibgroup/ucd-snmp/disk_hw.c.orig 2011-09-28 00:53:47.000000000 -0400
|
||||
+++ ./agent/mibgroup/ucd-snmp/disk_hw.c 2012-02-13 11:07:08.000000000 -0500
|
||||
@@ -137,6 +137,7 @@
|
||||
if (disks) {
|
||||
free( disks );
|
||||
|
@ -8,3 +8,12 @@
|
|||
}
|
||||
allDisksIncluded = 0;
|
||||
}
|
||||
@@ -321,7 +322,7 @@
|
||||
|
||||
switch (vp->magic) {
|
||||
case MIBINDEX:
|
||||
- long_ret = disknum;
|
||||
+ long_ret = disknum + 1;
|
||||
return ((u_char *) (&long_ret));
|
||||
case ERRORNAME: /* DISKPATH */
|
||||
*var_len = strlen(entry->path);
|
||||
|
|
Loading…
Reference in a new issue