#ifndef lint
static char ocopyright[] =
-"$Id: dhclient.c,v 1.127 2001/04/05 22:37:35 mellon Exp $ Copyright (c) 1995-2001 Internet Software Consortium. All rights reserved.\n";
+"$Id: dhclient.c,v 1.128 2001/04/09 00:34:06 mellon Exp $ Copyright (c) 1995-2001 Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
struct client_state *client;
struct client_lease *lease;
{
- struct dhcp_packet *raw;
unsigned char discover = DHCPDISCOVER;
int i;
struct option_state *options = (struct option_state *)0;
(unsigned)(client -> interface -> hw_address.hlen - 1));
#ifdef DEBUG_PACKET
- dump_packet (sendpkt);
- dump_raw ((unsigned char *)client -> packet,
- sendpkt->packet_length);
+ dump_raw ((unsigned char *)&client -> packet, client -> packet_length);
#endif
}
(unsigned)(client -> interface -> hw_address.hlen - 1));
#ifdef DEBUG_PACKET
- dump_packet (sendpkt);
- dump_raw ((unsigned char *)client -> packet, sendpkt->packet_length);
+ dump_raw ((unsigned char *)&client -> packet, client -> packet_length);
#endif
}
client -> interface -> hw_address.hlen);
#ifdef DEBUG_PACKET
- dump_packet (sendpkt);
- dump_raw ((unsigned char *)client -> packet, sendpkt->packet_length);
+ dump_raw ((unsigned char *)&client -> packet, client -> packet_length);
#endif
}
client -> interface -> hw_address.hlen);
#ifdef DEBUG_PACKET
- dump_packet (sendpkt);
- dump_raw ((unsigned char *)client -> packet,
- client -> packet_length);
+ dump_raw ((unsigned char *)&client -> packet, client -> packet_length);
#endif
}