Return to main.c CVS log | Up to [local] / src / usr.bin / netstat |
version 1.6, 1997/01/15 23:42:55 | version 1.7, 1997/02/01 17:31:19 | ||
---|---|---|---|
|
|
||
case 'f': | case 'f': | ||
if (strcmp(optarg, "inet") == 0) | if (strcmp(optarg, "inet") == 0) | ||
af = AF_INET; | af = AF_INET; | ||
else if (strcmp(optarg, "local") == 0) | |||
af = AF_LOCAL; | |||
else if (strcmp(optarg, "unix") == 0) | else if (strcmp(optarg, "unix") == 0) | ||
af = AF_UNIX; | af = AF_UNIX; | ||
else if (strcmp(optarg, "ipx") == 0) | else if (strcmp(optarg, "ipx") == 0) |