From: Ted Lemon Date: Mon, 29 Jun 1998 22:46:44 +0000 (+0000) Subject: Fix typos X-Git-Tag: V2-BETA-1-PATCH-7~61 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb703401b48db9173f60604a1202d3dc227fd11d;p=thirdparty%2Fdhcp.git Fix typos --- diff --git a/server/dhcp.c b/server/dhcp.c index f567420e9..3cbc0212e 100644 --- a/server/dhcp.c +++ b/server/dhcp.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: dhcp.c,v 1.57.2.9 1998/06/29 22:24:34 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhcp.c,v 1.57.2.10 1998/06/29 22:46:44 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -623,8 +623,8 @@ void ack_lease (packet, lease, offer, when) else if (vendor_class && vendor_class -> group -> filename) strncpy (state -> filename, vendor_class -> group -> filename, sizeof state -> filename); - else if (packet -> raw.file [0]) - strncpy (state -> filename, packet -> raw.file, + else if (packet -> raw -> file [0]) + strncpy (state -> filename, packet -> raw -> file, sizeof state -> filename); else strcpy (state -> filename, "");