Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 72178668877044795a667f035dad8905 > files > 11

nc-1.10-26mdv2008.0.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) {