summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcpd/bootp.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-05-04 20:28:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-05-04 20:28:41 +0000
commit78b219154584e6aec9e0b5a2fa3390b0df3e5d9c (patch)
tree965c99cd0b99933d2138158869d13936a481500f /usr.sbin/dhcpd/bootp.c
parent87c56ed5afea12c4e09fc8f649a6d48ffab4b6d0 (diff)
remove things not used, spotted by lint mostly; ok henning
Diffstat (limited to 'usr.sbin/dhcpd/bootp.c')
-rw-r--r--usr.sbin/dhcpd/bootp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/dhcpd/bootp.c b/usr.sbin/dhcpd/bootp.c
index 5a5317bd364..c9f975df968 100644
--- a/usr.sbin/dhcpd/bootp.c
+++ b/usr.sbin/dhcpd/bootp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootp.c,v 1.7 2004/04/21 09:11:58 canacar Exp $ */
+/* $OpenBSD: bootp.c,v 1.8 2004/05/04 20:28:40 deraadt Exp $ */
/*
* BOOTP Protocol support.
@@ -333,7 +333,7 @@ lose:
to.sin_port = server_port;
if (fallback_interface) {
- result = send_packet(fallback_interface, NULL, &raw,
+ result = send_packet(fallback_interface, &raw,
outgoing.packet_length, from, &to, &hto);
return;
}
@@ -355,6 +355,6 @@ lose:
}
errno = 0;
- result = send_packet(packet->interface, packet, &raw,
+ result = send_packet(packet->interface, &raw,
outgoing.packet_length, from, &to, &hto);
}