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

Diff for /src/usr.bin/nc/netcat.c between version 1.104 and 1.105

version 1.104, 2012/02/09 03:27:36 version 1.105, 2012/02/09 06:25:35
Line 802 
Line 802 
   
 /*  /*
  * build_ports()   * build_ports()
  * Build an array or ports in portlist[], listing each port   * Build an array of ports in portlist[], listing each port
  * that we should try to connect to.   * that we should try to connect to.
  */   */
 void  void
Line 865 
Line 865 
 /*  /*
  * udptest()   * udptest()
  * Do a few writes to see if the UDP port is there.   * Do a few writes to see if the UDP port is there.
  * XXX - Better way of doing this? Doesn't work for IPv6.   * Fails once PF state table is full.
  * Also fails after around 100 ports checked.  
  */   */
 int  int
 udptest(int s)  udptest(int s)

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.105