diff options
author | tegge <tegge@FreeBSD.org> | 1998-03-14 03:25:18 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 1998-03-14 03:25:18 +0000 |
commit | 3483aa429fc32f1e613bff2b2f885f0ef7335433 (patch) | |
tree | b5afd6b21266a185ed638fd66eca8443992fea4d /sys/nfsclient/bootp_subr.c | |
parent | c152386e5a25bad66d6be8df3bc8db31976a407e (diff) | |
download | FreeBSD-src-3483aa429fc32f1e613bff2b2f885f0ef7335433.zip FreeBSD-src-3483aa429fc32f1e613bff2b2f885f0ef7335433.tar.gz |
Update workaround for limitations in the arp code.
Adjust the RPC timeout message which occured when the old workaround
broke to show the correct IP address.
Diffstat (limited to 'sys/nfsclient/bootp_subr.c')
-rw-r--r-- | sys/nfsclient/bootp_subr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c index 891b935..4053bc3 100644 --- a/sys/nfsclient/bootp_subr.c +++ b/sys/nfsclient/bootp_subr.c @@ -1,4 +1,4 @@ -/* $Id: bootp_subr.c,v 1.8 1998/01/18 18:46:20 tegge Exp $ */ +/* $Id: bootp_subr.c,v 1.9 1998/02/09 06:10:32 eivind Exp $ */ /* * Copyright (c) 1995 Gordon Ross, Adam Glass @@ -766,10 +766,10 @@ bootpc_init(void) return; /* - * Bump time if 0. + * Wait until arp entries can be handled. */ - if (!time.tv_sec) - time.tv_sec++; + while (time.tv_sec == 0) + tsleep(&time, PZERO+8, "arpkludge", 10); /* * Find a network interface. |