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

Diff for /src/usr.bin/netstat/inet6.c between version 1.46 and 1.47

version 1.46, 2014/08/14 12:55:50 version 1.47, 2015/01/16 06:40:10
Line 29 
Line 29 
  * SUCH DAMAGE.   * SUCH DAMAGE.
  */   */
   
 #include <sys/param.h>  #include <sys/types.h>
 #include <sys/socket.h>  #include <sys/socket.h>
 #include <sys/socketvar.h>  #include <sys/socketvar.h>
 #include <sys/ioctl.h>  #include <sys/ioctl.h>
Line 60 
Line 60 
 #include <stdio.h>  #include <stdio.h>
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
   #include <limits.h>
 #include "netstat.h"  #include "netstat.h"
   
 struct  socket sockb;  struct  socket sockb;
Line 1113 
Line 1114 
         char *cp;          char *cp;
         static char line[NI_MAXHOST];          static char line[NI_MAXHOST];
         struct hostent *hp;          struct hostent *hp;
         static char domain[MAXHOSTNAMELEN];          static char domain[HOST_NAME_MAX+1];
         static int first = 1;          static int first = 1;
         char hbuf[NI_MAXHOST];          char hbuf[NI_MAXHOST];
         struct sockaddr_in6 sin6;          struct sockaddr_in6 sin6;

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47