diff options
author | 2004-05-04 21:25:27 +0000 | |
---|---|---|
committer | 2004-05-04 21:25:27 +0000 | |
commit | b13655435d2eb5145370ee50e3216367a1855677 (patch) | |
tree | 140a63431129d6f6a64003716a32397ce0a19d69 /usr.sbin/dhcpd/dhcp.c | |
parent | remove unused stuff; henning ok (diff) | |
download | wireguard-openbsd-b13655435d2eb5145370ee50e3216367a1855677.tar.xz wireguard-openbsd-b13655435d2eb5145370ee50e3216367a1855677.zip |
remove DEBUG_PACKET stuff; henning ok
Diffstat (limited to 'usr.sbin/dhcpd/dhcp.c')
-rw-r--r-- | usr.sbin/dhcpd/dhcp.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/usr.sbin/dhcpd/dhcp.c b/usr.sbin/dhcpd/dhcp.c index 530fcb9ef3d..10278f81dd4 100644 --- a/usr.sbin/dhcpd/dhcp.c +++ b/usr.sbin/dhcpd/dhcp.c @@ -537,13 +537,6 @@ nak_lease(struct packet *packet, struct iaddr *cip) packet->raw->chaddr), packet->raw->giaddr.s_addr ? inet_ntoa(packet->raw->giaddr) : packet->interface->name); -#ifdef DEBUG_PACKET - dump_packet(packet); - dump_raw((unsigned char *)packet->raw, packet->packet_length); - dump_packet(&outgoing); - dump_raw((unsigned char *)&raw, outgoing.packet_length); -#endif - hto.htype = packet->raw->htype; hto.hlen = packet->raw->hlen; memcpy(hto.haddr, packet->raw->chaddr, hto.hlen); @@ -1082,11 +1075,6 @@ ack_lease(struct packet *packet, struct lease *lease, unsigned int offer, state->options[i]->tree = NULL; } -#ifdef DEBUG_PACKET - dump_packet(packet); - dump_raw((unsigned char *)packet->raw, packet->packet_length); -#endif - lease->state = state; /* If this is a DHCPOFFER, ping the lease address before actually @@ -1218,10 +1206,6 @@ dhcp_reply(struct lease *lease) to.sin_len = sizeof to; #endif -#ifdef DEBUG_PACKET - dump_raw((unsigned char *)&raw, packet_length); -#endif - /* Make sure outgoing packets are at least as big as a BOOTP packet. */ if (packet_length < BOOTP_MIN_LEN) |