]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix typos
authorTed Lemon <source@isc.org>
Mon, 29 Jun 1998 22:46:44 +0000 (22:46 +0000)
committerTed Lemon <source@isc.org>
Mon, 29 Jun 1998 22:46:44 +0000 (22:46 +0000)
server/dhcp.c

index f567420e9e81e1d562392306d94b2864cdf9b088..3cbc0212e76a2f637eeb38e3728a20b425446c96 100644 (file)
@@ -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, "");