Package: tinysnmp-module-interfaces
Version: 0.8.4
Severity: normal

Hi,

with the patch from #388256 that makes tinysnmpd work on sparc,
I get the following syslog warning from tinysnmpd when doing an snmpwalk:

Sep 20 11:40:06 raakel tinysnmpd[27844]: failed to update module interfaces: 
while parsing /proc/net/dev: parse error on line 4

The problem is that getifstats() in modules/interfaces/proc.c tries to
parse 32-bit values with atou32(), but on my system there's a 64-bit
value there:

Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    
packets errs drop fifo colls carrier compressed
    lo:  135102    1784    0    0    0     0          0         0   135102    
1784    0    0    0     0       0          0
  eth0:6521091504 84643592    0    0    0     0          0         0 41871821  
351036    0    0    0     0       0          0
  sit0:       0       0    0    0    0     0          0         0        0      
 0    0    0    0     0       0          0

(The first number on the eth0 line is > 2**32)

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-sparc64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages tinysnmp-module-interfaces depends on:
ii  libc6                      2.3.6.ds1-4   GNU C Library: Shared libraries
ii  tinysnmp-agent             0.8.4         A lightweight SNMPv1 implementatio

tinysnmp-module-interfaces recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to