version 1.26, 2003/08/04 17:06:46 |
version 1.27, 2006/09/26 10:30:41 |
|
|
{ |
{ |
enum clnt_stat stat; |
enum clnt_stat stat; |
struct itimerval timeout; |
struct itimerval timeout; |
AUTH *unix_auth = authunix_create_default(); |
AUTH *unix_auth; |
size_t outlen[2]; |
size_t outlen[2]; |
int sock[2] = { -1, -1 }; |
int sock[2] = { -1, -1 }; |
int i, maxfd, rval; |
int i, maxfd, rval; |
|
|
utmpidlearr up; |
utmpidlearr up; |
utmp_array up3; |
utmp_array up3; |
XDR xdr; |
XDR xdr; |
|
|
|
if ((unix_auth = authunix_create_default()) == NULL) |
|
err(1, "can't create auth handle"); |
|
|
if (getifaddrs(&ifap) != 0) |
if (getifaddrs(&ifap) != 0) |
err(1, "can't get list of interface addresses"); |
err(1, "can't get list of interface addresses"); |