diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-12-15 16:03:17 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-12-15 16:03:17 +0000 |
commit | 4431c875f6889b6debc13ffe1485e48c5d152834 (patch) | |
tree | 9953ddb95122ba9da58f6a57b66db096a06a6302 /usr.sbin/dhcpd | |
parent | 1f6ba3bf4a9f6169ec6041ac213ebfd49c702f78 (diff) |
small KNF
Diffstat (limited to 'usr.sbin/dhcpd')
-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 0c37642828e..b81e1e2330a 100644 --- a/usr.sbin/dhcpd/dhcp.c +++ b/usr.sbin/dhcpd/dhcp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcp.c,v 1.24 2006/06/14 14:49:46 ckuethe Exp $ */ +/* $OpenBSD: dhcp.c,v 1.25 2006/12/15 16:03:16 stevesk Exp $ */ /* * Copyright (c) 1995, 1996, 1997, 1998, 1999 @@ -608,7 +608,7 @@ ack_lease(struct packet *packet, struct lease *lease, unsigned int offer, } if (packet->options[DHO_DHCP_CLASS_IDENTIFIER].len) { - vendor_class =find_class(0, + vendor_class = find_class(0, packet->options[DHO_DHCP_CLASS_IDENTIFIER].data, packet->options[DHO_DHCP_CLASS_IDENTIFIER].len); } else |