summaryrefslogtreecommitdiff
path: root/sbin/dhclient/options.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-14 23:19:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-02-14 23:19:27 +0000
commitb988dd0e2d7472f9c1c1c5b733df829714bb0549 (patch)
tree442c03ad9c89eacca7eeac2ad3bd9556e5b8c55e /sbin/dhclient/options.c
parent1aa01010ee8f964bd80ee09776fe8b9211c06543 (diff)
spacing and a typo that fell out of the read
Diffstat (limited to 'sbin/dhclient/options.c')
-rw-r--r--sbin/dhclient/options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/options.c b/sbin/dhclient/options.c
index b6b3094ded2..03480881f3b 100644
--- a/sbin/dhclient/options.c
+++ b/sbin/dhclient/options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options.c,v 1.33 2007/01/25 01:21:04 krw Exp $ */
+/* $OpenBSD: options.c,v 1.34 2007/02/14 23:19:26 deraadt Exp $ */
/* DHCP options parsing and reassembly. */
@@ -444,7 +444,7 @@ do_packet(int len, unsigned int from_port, struct iaddr from,
options_valid = parse_option_buffer(options,
&packet->options[4], sizeof(packet->options) - 4);
- /* Only DHCP packets have overload areas for options. */
+ /* Only DHCP packets have overload areas for options. */
if (options_valid &&
options[DHO_DHCP_MESSAGE_TYPE].data &&
options[DHO_DHCP_OPTION_OVERLOAD].data) {
@@ -492,7 +492,7 @@ do_packet(int len, unsigned int from_port, struct iaddr from,
handler = NULL;
}
- if (handler)
+ if (handler)
(*handler)(from, options);
for (i = 0; i < 256; i++)