mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
xids are u_int32_ts, which are not necessarily the same size as time_ts or
unsigned longs. This fixes "ypbind -S ... -m" on sparc64.
This commit is contained in:
parent
42756860e3
commit
bfe95ccc17
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103428
@ -226,7 +226,7 @@ ypproc_domain_nonack_2_recv(domainname *argp, CLIENT *clnt)
|
||||
|
||||
struct ping_req {
|
||||
struct sockaddr_in sin;
|
||||
unsigned long xid;
|
||||
u_int32_t xid;
|
||||
};
|
||||
|
||||
int
|
||||
@ -238,7 +238,7 @@ __yp_ping(struct in_addr *restricted_addrs, int cnt, char *dom, short *port)
|
||||
int async;
|
||||
struct sockaddr_in sin, *any = NULL;
|
||||
int winner = -1;
|
||||
time_t xid_seed, xid_lookup;
|
||||
u_int32_t xid_seed, xid_lookup;
|
||||
int sock, dontblock = 1;
|
||||
CLIENT *clnt;
|
||||
char *foo = dom;
|
||||
|
Loading…
Reference in New Issue
Block a user