diff options
author | Niels Provos <provos@cvs.openbsd.org> | 1997-04-13 21:25:51 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 1997-04-13 21:25:51 +0000 |
commit | b37124026e9750afdf29bdaf16030ecc4e7dfc15 (patch) | |
tree | a8839c11b75a4c9418b66f599c2b4a0c1596574d /usr.sbin/named/host | |
parent | 7b96f320b0e975487768b954efccc69ee93a6f68 (diff) |
use res_random.c for ids
Diffstat (limited to 'usr.sbin/named/host')
-rw-r--r-- | usr.sbin/named/host/host.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/named/host/host.c b/usr.sbin/named/host/host.c index c5b1a4d95bc..48c1d8396cc 100644 --- a/usr.sbin/named/host/host.c +++ b/usr.sbin/named/host/host.c @@ -1,4 +1,4 @@ -/* $OpenBSD: host.c,v 1.2 1997/03/12 10:41:53 downsj Exp $ */ +/* $OpenBSD: host.c,v 1.3 1997/04/13 21:25:50 provos Exp $ */ /* * Copyright (c) 1985, 1989 Regents of the University of California. @@ -540,7 +540,7 @@ input char *argv[]; _res.retrans = DEF_RETRANS; /* timeout in secs between retries */ /* initialize packet id */ - _res.id = getpid() & 0x7fff; + _res.id = res_randomid(); /* save new defaults */ new_res = _res; |