Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 81596f1281d4bb1b354494bf7357f6fe > files > 11

nc-1.10-27mdv2008.1.src.rpm

--- netcat-1.10.orig/netcat.c	Tue Jun  4 15:35:26 2002
+++ netcat-1.10/netcat.c	Tue Jun  4 15:35:33 2002
@@ -462,8 +462,10 @@
     if (pstring)			/* one or the other, pleeze */
       return (0);
     x = pnum;
-    if (o_nflag)			/* go faster, skip getservbyblah */
-      goto gp_finish;
+    /* disabled, see bug #98902. if this is *really* slowing someone
+     * down I'll reconsider. */
+    /* if (o_nflag) */			/* go faster, skip getservbyblah */
+      /* goto gp_finish; */
     y = htons (x);			/* gotta do this -- see Fig.1 below */
     servent = getservbyport (y, whichp);
     if (servent) {