On Fri, 4 Jan 2002, Guy Harris wrote:

What's the status of 3.7?  I'd like to see that get out of the door 
sometime soon :-)

One thing I'd yet like to see (but it's okay if there's a freeze already),
is the old "portnumbers" patch, this time around in a back-ward compatible
way. (also attached.)

btw, if someone is interest "Red Hat -like" (including a few patches etc.) 
RPMS of 3.7.0 012 snapshot are available at 
http://www.netcore.fi/pekkas/linux/.

-- 
Pekka Savola                 "Tell me of difficulties surmounted,
Netcore Oy                   not those you stumble over and fall"
Systems. Networks. Security.  -- Robert Jordan: A Crown of Swords

--- tcpdump-3.7.0/addrtoname.c  Tue Sep 18 00:57:50 2001
+++ tcpdump-3.7.0.new/addrtoname.c      Fri Nov  9 10:38:55 2001
@@ -656,7 +656,7 @@
 
                while (table->name)
                        table = table->nxt;
-               if (nflag) {
+               if (nflag == 1) {
                        (void)snprintf(buf, sizeof(buf), "%d", port);
                        table->name = strdup(buf);
                } else
@@ -845,7 +845,7 @@
                f_localnet = localnet;
                f_netmask = mask;
        }
-       if (nflag)
+       if (nflag == 1)
                /*
                 * Simplest way to suppress names.
                 */
--- tcpdump-3.7.0/tcpdump.1     Fri Nov  9 10:38:55 2001
+++ tcpdump-3.7.0.new/tcpdump.1 Fri Nov  9 10:43:40 2001
@@ -278,6 +278,10 @@
 .B \-n
 Don't convert addresses (i.e., host addresses, port numbers, etc.) to names.
 .TP
+.B \-nn
+Don't convert host addresses to names, but do convert port numbers and such;
+this can be used when one wants to avoid DNS lookups.
+.TP
 .B \-N
 Don't print domain name qualification of host names.
 E.g.,

Reply via email to