diff options
author | 2002-05-26 01:04:05 +0000 | |
---|---|---|
committer | 2002-05-26 01:04:05 +0000 | |
commit | 75e5599588bdc7f43dd4419a2f3ee2371411746f (patch) | |
tree | caafcd93b41a626508d2ec99dd27e8eb9e60f786 | |
parent | oops, major oops; moritz@jodeit.org (diff) | |
download | wireguard-openbsd-75e5599588bdc7f43dd4419a2f3ee2371411746f.tar.xz wireguard-openbsd-75e5599588bdc7f43dd4419a2f3ee2371411746f.zip |
with XXX, note a place we could maybe use arc4random()
-rw-r--r-- | usr.sbin/bootpd/bootptest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bootpd/bootptest.c b/usr.sbin/bootpd/bootptest.c index 9d0e8478df2..0f17baf90d3 100644 --- a/usr.sbin/bootpd/bootptest.c +++ b/usr.sbin/bootpd/bootptest.c @@ -284,7 +284,7 @@ main(argc, argv) bp = (struct bootp *) sndbuf; bzero(bp, sizeof(*bp)); bp->bp_op = BOOTREQUEST; - xid = (int32) getpid(); + xid = (int32) getpid(); /* XXX should use arc4random()? */ bp->bp_xid = (u_int32) htonl(xid); if (bp_file) strlcpy(bp->bp_file, bp_file, BP_FILE_LEN); |