[BACK]Return to main.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / netstat

Diff for /src/usr.bin/netstat/main.c between version 1.101 and 1.102

version 1.101, 2014/06/23 03:46:17 version 1.102, 2014/10/23 16:45:57
Line 372 
Line 372 
                 printproto(tp, tp->pr_name, af, tableid, pcbaddr);                  printproto(tp, tp->pr_name, af, tableid, pcbaddr);
                 exit(0);                  exit(0);
         }          }
         /*  
          * Keep file descriptors open to avoid overhead  
          * of open/close on each call to get* routines.  
          */  
         sethostent(1);  
         setnetent(1);  
   
         if (iflag) {          if (iflag) {
                 intpr(interval, repeatcount);                  intpr(interval, repeatcount);
                 exit(0);                  exit(0);

Legend:
Removed from v.1.101  
changed lines
  Added in v.1.102