I Would like to work on this bug # 6236983 if i am allowed to ( An
Engineer is assigned) .Requesting sponsor for the same.
My SCA number is OS01444


Bug Description :
netstat -iv adds many blank (null) lines to output

I have tested both netstat -i and netstat -iv commands. The following
patch  works  fine without printing extra new lines.
But there might be a better way of doing it.




patch is :

--- netstat.c.orig      Thu Dec 13 02:34:44 2007
+++ netstat.c   Thu Dec 13 14:36:29 2007
@@ -3180,8 +3180,6 @@
                        break;
                }
                }
-               if (Iflag_only == 0)
-                   (void) putchar('\n');
                (void) fflush(stdout);
        } /* 'for' loop 1 ends */
        reentry = B_TRUE;



thank you  in advance
----
Regards
Ashwin Bhat K S
3 year information technology
NATIONAL INSTITUTE OF TECHNOLOGY KARNATAKA Surathkal
Sun campus ambassador
99644 98351
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffnetstat
Type: application/octet-stream
Size: 252 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/request-sponsor/attachments/20071213/323c8e0e/attachment.obj>

Reply via email to