Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F1253
snmp_client.c.patch
All Users
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
murmaider
Mar 23 2016, 2:55 PM
2016-03-23 14:55:44 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
snmp_client.c.patch
View Options
--- snmplib/snmp_client.c 2016-03-23 16:48:37.000000000 +0200
+++ snmplib/snmp_client.c 2016-03-23 14:20:22.654253000 +0200
@@ -846,7 +846,7 @@
= (const u_long *) value;
*(vars->val.integer) = *val_ulong;
if (*(vars->val.integer) > 0xffffffff) {
- snmp_log(LOG_ERR,"truncating integer value > 32 bits\n");
+ snmp_log(LOG_DEBUG,"truncating integer value > 32 bits\n");
*(vars->val.integer) &= 0xffffffff;
}
}
@@ -858,7 +858,7 @@
= (const unsigned long long *) value;
*(vars->val.integer) = (long) *val_ullong;
if (*(vars->val.integer) > 0xffffffff) {
- snmp_log(LOG_ERR,"truncating integer value > 32 bits\n");
+ snmp_log(LOG_DEBUG,"truncating integer value > 32 bits\n");
*(vars->val.integer) &= 0xffffffff;
}
}
@@ -870,7 +870,7 @@
= (const uintmax_t *) value;
*(vars->val.integer) = (long) *val_uintmax_t;
if (*(vars->val.integer) > 0xffffffff) {
- snmp_log(LOG_ERR,"truncating integer value > 32 bits\n");
+ snmp_log(LOG_DEBUG,"truncating integer value > 32 bits\n");
*(vars->val.integer) &= 0xffffffff;
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/vt/kz/2aq7ysq45pirftpx
Default Alt Text
snmp_client.c.patch (1 KB)
Attached To
Mode
T17: Fix SNMP errors for Intel 10G cards (82599EB) using ixgbe (interface_dot3stats_get_errorcounters: got data from IFLA_STATS)
Attached
Detach File
Event Timeline
Log In to Comment