#ifndef lint
static char copyright[] =
-"$Id: bootp.c,v 1.65 2000/08/28 19:36:08 neild Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
+"$Id: bootp.c,v 1.66 2000/09/20 00:06:04 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
/* Set up the hardware destination address... */
hto.hbuf [0] = packet -> raw -> htype;
hto.hlen = packet -> raw -> hlen + 1;
- memcpy (hto.hbuf, packet -> raw -> chaddr, packet -> raw -> hlen);
+ memcpy (&hto.hbuf [1], packet -> raw -> chaddr, packet -> raw -> hlen);
from = packet -> interface -> primary_address;