[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#292564: marked as done (arping: quiet mode is not)



Your message dated Sun, 23 Jul 2006 02:36:26 +0200
with message-id <878xmluph1.fsf@debian.org>
and subject line Fixed in arping 2.05-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: arping
Version: 2.01-3
Severity: minor
Tags: patch

When in quiet mode, a new line will be printed if an ARP answer is received
while nothing will be printed if no answer is received. Here is what I mean
(192.168.0.1 answers to ARP requests but there is no .254 on my LAN):
--- example top ---
$ echo "+"; sudo arping -q -c1 192.168.0.1; echo "+"; sudo arping -q -c1 192.168.0.254; echo "+"
+

+
+
--- example bottom ---
See ? There is a new line too much corresponding to the first ARP request.

Arping 1 is not affected but newer upstream release (2.04) is. Attached is a
small patch that applies to 2.04 too.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)

Versions of packages arping depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libnet1                     1.1.2.1-2    library for the construction and h
ii  libpcap0.7                  0.7.2-7      System interface for user-level pa

-- no debconf information
--- arping-2/arping.c.orig	2005-01-27 21:56:47.000000000 +0100
+++ arping-2/arping.c	2005-01-27 21:58:33.000000000 +0100
@@ -451,7 +451,8 @@
 			default:
 				fprintf(stderr, "arping: can't happen!\n");
 			}
-			printf(beep?"\a\n":"\n");
+			if (display != QUIET)
+				printf(beep?"\a\n":"\n");
 			numrecvd++;
 		}
 	}
@@ -532,7 +533,8 @@
 			fprintf(stderr, "arping: can't-happen-bug\n");
 			sigint(0);
 		}
-		printf(beep?"\a\n":"\n");
+		if (display != QUIET)
+			printf(beep?"\a\n":"\n");
 		numrecvd++;
 	}
 }

--- End Message ---
--- Begin Message ---
Source: arping
Source-Version: 2.05-1

The upstream author has fixed this.

Thanks for your patience,

Matej

--- End Message ---

Reply to: