<dhcp-users@isc.org>.
- Changes since 4.2.0a1
+ Changes since 4.2.0a1
- When using 'ignore client-updates;', the FQDN returned to the client
is no longer truncated to one octet.
+- Cleaned up an unused hardware address variable in nak_lease().
+
- Manpage entries for the ia-pd and ia-prefix options were updated to
reflect support for prefix delegation.
struct dhcp_packet raw;
unsigned char nak = DHCPNAK;
struct packet outgoing;
- struct hardware hto;
unsigned i;
struct option_state *options = (struct option_state *)0;
struct option_cache *oc = (struct option_cache *)0;
? inet_ntoa (packet -> raw -> giaddr)
: packet -> interface -> name);
-
-
#ifdef DEBUG_PACKET
dump_packet (packet);
dump_raw ((unsigned char *)packet -> raw, packet -> packet_length);
dump_raw ((unsigned char *)&raw, outgoing.packet_length);
#endif
-#if 0
- hto.hbuf [0] = packet -> raw -> htype;
- hto.hlen = packet -> raw -> hlen;
- memcpy (&hto.hbuf [1], packet -> raw -> chaddr, hto.hlen);
- hto.hlen++;
-#endif
-
/* Set up the common stuff... */
to.sin_family = AF_INET;
#ifdef HAVE_SA_LEN
to.sin_port = remote_port; /* for testing. */
if (fallback_interface) {
- result = send_packet (fallback_interface,
- packet, &raw,
- outgoing.packet_length,
- from, &to, &hto);
+ result = send_packet(fallback_interface, packet, &raw,
+ outgoing.packet_length, from, &to,
+ NULL);
return;
}
} else {
}
errno = 0;
- result = send_packet (packet -> interface,
- packet, &raw, outgoing.packet_length,
- from, &to, (struct hardware *)0);
+ result = send_packet(packet->interface, packet, &raw,
+ outgoing.packet_length, from, &to, NULL);
}
void ack_lease (packet, lease, offer, when, msg, ms_nulltp, hp)