summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2004-12-06 17:18:35 +0000
committerclaudio <claudio@openbsd.org>2004-12-06 17:18:35 +0000
commit6b08fb5ba9e12f27ce3f5f1e356081b56449ee9a (patch)
tree1150c268410f845151c307ad936ced1e830a391b
parentensure the most excellent alignment in the structs; henning@ ok (diff)
downloadwireguard-openbsd-6b08fb5ba9e12f27ce3f5f1e356081b56449ee9a.tar.xz
wireguard-openbsd-6b08fb5ba9e12f27ce3f5f1e356081b56449ee9a.zip
Bah, unbreak. from not form. Noticed by Dan Harnett.
-rw-r--r--usr.sbin/dhcpd/dhcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/dhcp.c b/usr.sbin/dhcpd/dhcp.c
index b6ecd376718..b25a2014160 100644
--- a/usr.sbin/dhcpd/dhcp.c
+++ b/usr.sbin/dhcpd/dhcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcp.c,v 1.15 2004/12/06 13:51:16 claudio Exp $ */
+/* $OpenBSD: dhcp.c,v 1.16 2004/12/06 17:18:35 claudio Exp $ */
/*
* Copyright (c) 1995, 1996, 1997, 1998, 1999
@@ -1218,7 +1218,7 @@ dhcp_reply(struct lease *lease)
memcpy(&from, state->from.iabuf, sizeof from);
(void) send_packet(state->ip, &raw,
- packet_length, form, &to, &state->haddr);
+ packet_length, from, &to, &state->haddr);
free_lease_state(state, "dhcp_reply gateway");
lease->state = NULL;