diff options
Diffstat (limited to 'usr.sbin/dhcpd/dhcp.c')
-rw-r--r-- | usr.sbin/dhcpd/dhcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dhcpd/dhcp.c b/usr.sbin/dhcpd/dhcp.c index 7d0eddf419a..1bb004e2674 100644 --- a/usr.sbin/dhcpd/dhcp.c +++ b/usr.sbin/dhcpd/dhcp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcp.c,v 1.28 2009/09/01 08:42:31 reyk Exp $ */ +/* $OpenBSD: dhcp.c,v 1.29 2010/01/01 20:46:19 krw Exp $ */ /* * Copyright (c) 1995, 1996, 1997, 1998, 1999 @@ -579,7 +579,7 @@ nak_lease(struct packet *packet, struct iaddr *cip) i = DHO_DHCP_PARAMETER_REQUEST_LIST; if (packet->options[i].data) { packet->options[i].len = 0; - dfree(packet->options[i].data, "nak_lease"); + free(packet->options[i].data); packet->options[i].data = NULL; } |