Return to inet.c CVS log | Up to [local] / src / usr.bin / netstat |
version 1.137, 2014/11/03 17:20:46 | version 1.138, 2015/01/16 06:40:09 | ||
---|---|---|---|
|
|
||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||
*/ | */ | ||
#include <sys/param.h> | |||
#include <sys/queue.h> | #include <sys/queue.h> | ||
#include <sys/socket.h> | #include <sys/socket.h> | ||
#include <sys/socketvar.h> | #include <sys/socketvar.h> | ||
|
|
||
char *cp; | char *cp; | ||
static char line[50]; | static char line[50]; | ||
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; | ||
if (first && !nflag) { | if (first && !nflag) { |