File lio-utils-dont-use-U64-from-net-snmp.patch of Package lio-utils.9620

diff -aurp lio-utils-4.1.orig/mib-modules/iscsiMib.h lio-utils-4.1/mib-modules/iscsiMib.h
--- lio-utils-4.1.orig/mib-modules/iscsiMib.h	2011-05-06 14:16:58.000000000 -0700
+++ lio-utils-4.1/mib-modules/iscsiMib.h	2016-06-01 10:49:33.721745152 -0700
@@ -442,8 +442,8 @@ struct iscsiSessionStats_entry {
     u_long	iscsiSsnIndex;
     u_long	iscsiSsnCmdPDUs;
     u_long	iscsiSsnRspPDUs;
-    U64		iscsiSsnTxDataOctets;
-    U64		iscsiSsnRxDataOctets;
+    struct counter64 iscsiSsnTxDataOctets;
+    struct counter64 iscsiSsnRxDataOctets;
     u_long	iscsiSsnLCTxDataOctets;
     u_long	iscsiSsnLCRxDataOctets;
     struct iscsiSessionStats_entry *next;
diff -aurp lio-utils-4.1.orig/mib-modules/scsiMib.h lio-utils-4.1/mib-modules/scsiMib.h
--- lio-utils-4.1.orig/mib-modules/scsiMib.h	2011-05-06 14:16:58.000000000 -0700
+++ lio-utils-4.1/mib-modules/scsiMib.h	2016-06-01 10:49:09.965092277 -0700
@@ -216,7 +216,7 @@ struct scsiTgtPortTable_entry {
     u_long	scsiTgtPortInCommands;
     u_long	scsiTgtPortWrittenMegaBytes;
     u_long	scsiTgtPortReadMegaBytes;
-    U64		scsiTgtPortHSInCommands;
+    struct counter64 scsiTgtPortHSInCommands;
     struct scsiTgtPortTable_entry *next;
 };
 
@@ -257,7 +257,7 @@ struct scsiAuthorizedIntrTable_entry {
     u_long	scsiAuthIntrOutCommands;
     u_long	scsiAuthIntrReadMegaBytes;
     u_long	scsiAuthIntrWrittenMegaBytes;
-    U64		scsiAuthIntrHSOutCommands;
+    struct counter64 scsiAuthIntrHSOutCommands;
     u_long	scsiAuthIntrLastCreation;
     long	scsiAuthIntrRowStatus;
     struct scsiAuthorizedIntrTable_entry *next;
@@ -337,7 +337,7 @@ struct scsiLuTable_entry {
     u_long	scsiLuWrittenMegaBytes;
     u_long	scsiLuInResets;
     u_long	scsiLuOutTaskSetFullStatus;
-    U64		scsiLuHSInCommands;
+    struct counter64 scsiLuHSInCommands;
     u_long	scsiLuLastCreation;
     struct scsiLuTable_entry *next;
 };
openSUSE Build Service is sponsored by