Package: netcat-openbsd
Version: 1.89-2
Severity: normal
Tags: patch
The -z flag produces a "Connected...successfully." message, even when -v
is not selected. This is a significant deviation from the original, and
conflates the function of the -z and -v flags. Patch attached.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages netcat-openbsd depends on:
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libglib2.0-0 2.14.5-2 The GLib library of C routines
netcat-openbsd recommends no packages.
-- no debconf information
--- netcat.c.orig 2008-02-07 09:19:13.000000000 -0800
+++ netcat.c 2008-02-07 09:19:27.000000000 -0800
@@ -364,7 +364,7 @@
continue;
ret = 0;
- if (vflag || zflag) {
+ if (vflag) {
/* For UDP, make sure we are connected. */
if (uflag) {
if (udptest(s) == -1) {