diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
| commit | 76b5366091f76c9bc73570149ef5055648fc2c39 (patch) | |
| tree | 590d020e0f2a5bea6e09d66d951a674443b21d67 /libexec/bootpd | |
| parent | 4b4d01da6f07f7754ff6a6e4f5223e9f0984d1a6 (diff) | |
This commit was manufactured by cvs2svn to create tagrelease/3.0.0
'RELENG_3_0_0_RELEASE'.
Diffstat (limited to 'libexec/bootpd')
| -rw-r--r-- | libexec/bootpd/bootpd.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/bootpd/bootpd.c b/libexec/bootpd/bootpd.c index 6d6a74fed6c6..68e35d50223a 100644 --- a/libexec/bootpd/bootpd.c +++ b/libexec/bootpd/bootpd.c @@ -19,7 +19,7 @@ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - $Id: bootpd.c,v 1.9 1998/12/12 20:56:53 dillon Exp $ + $Id: bootpd.c,v 1.7 1997/05/11 14:27:03 phk Exp $ ************************************************************************/ @@ -635,8 +635,6 @@ handle_request() char *homedir, *bootfile; int n; - bp->bp_file[sizeof(bp->bp_file)-1] = '\0'; - /* XXX - SLIP init: Set bp_ciaddr = recv_addr here? */ /* @@ -835,7 +833,7 @@ HW addr type is IEEE 802. convert to %s and check again\n", * daemon chroot directory (i.e. /tftpboot). */ if (hp->flags.tftpdir) { - snprintf(realpath, sizeof(realpath), "%s", hp->tftpdir->string); + strcpy(realpath, hp->tftpdir->string); clntpath = &realpath[strlen(realpath)]; } else { realpath[0] = '\0'; |
