Package: net-tools Version: 1.60-22 Followup-For: Bug #541172 affects 541172 + munin-node tags 541172 + patch thanks
/Teddy -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages net-tools depends on: ii libc6 2.7-18lenny2 GNU C Library: Shared libraries net-tools recommends no packages. net-tools suggests no packages. -- no debconf information
--- netstat.c.~1~ 2010-06-09 08:37:03.000000000 +0200 +++ netstat.c 2010-06-09 08:37:24.000000000 +0200 @@ -1761,12 +1761,14 @@ parsesnmp6(flag_raw, flag_tcp, flag_udp); #else printf("Address type not supported for stats\n"); + exit(1); #endif - } - else + } else { printf("Address type not supported for stats\n"); + exit(1); + } } - exit(1); + exit(0); } if (flag_rou) {