~ubuntu-branches/ubuntu/maverick/netcat-openbsd/maverick

« back to all changes in this revision

Viewing changes to debian/patches/udp-scan-timeout.patch

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-06-25 18:47:47 UTC
  • mfrom: (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080625184747-hmj2o98haphlpdp8
Tags: 1.89-3ubuntu1
* Merge from debian unstable.
* Reinsert quit-timer, but set default to 0 to match current behaviour.
  (LP: #242350)

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
                                continue;
16
16
 
17
17
                        ret = 0;
18
 
-                       if (vflag || zflag) {
19
 
+                       if ((vflag && !uflag) || zflag) {
 
18
-                       if (vflag) {
 
19
+                       if (vflag && !uflag) {
20
20
                                /* For UDP, make sure we are connected. */
21
21
                                if (uflag) {
22
22
                                        if (udptest(s) == -1) {