summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-04-18 01:32:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-04-18 01:32:41 +0000
commitfaf8a7475308d4c362b296ccf494e7cfbc927c0f (patch)
tree0c8b7a111fb2afffefffa22e0930f065556360a4 /usr.sbin
parent1430ac873d981368ec12a034ced1eedafcb3b5b6 (diff)
spacing
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/dhcpd/bootp.c4
-rw-r--r--usr.sbin/dhcpd/dhcp.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/dhcpd/bootp.c b/usr.sbin/dhcpd/bootp.c
index 799c55abc36..11ad7abd505 100644
--- a/usr.sbin/dhcpd/bootp.c
+++ b/usr.sbin/dhcpd/bootp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootp.c,v 1.5 2004/04/18 01:19:07 henning Exp $ */
+/* $OpenBSD: bootp.c,v 1.6 2004/04/18 01:32:40 deraadt Exp $ */
/*
* BOOTP Protocol support.
@@ -284,7 +284,7 @@ lose:
memcpy(&raw.yiaddr, ip_address.iabuf, sizeof(raw.yiaddr));
/* Figure out the address of the next server. */
- if (hp && hp->group->next_server.len)
+ if (hp && hp->group->next_server.len)
memcpy(&raw.siaddr, hp->group->next_server.iabuf, 4);
else if (subnet->group->next_server.len)
memcpy(&raw.siaddr, subnet->group->next_server.iabuf, 4);
diff --git a/usr.sbin/dhcpd/dhcp.c b/usr.sbin/dhcpd/dhcp.c
index 2c2c99b0165..40e934771db 100644
--- a/usr.sbin/dhcpd/dhcp.c
+++ b/usr.sbin/dhcpd/dhcp.c
@@ -677,7 +677,7 @@ ack_lease(struct packet *packet, struct lease *lease, unsigned int offer,
else if (user_class && user_class->group->filename)
strlcpy(state->filename, user_class->group->filename,
sizeof state->filename);
- else if (vendor_class && vendor_class->group->filename)
+ else if (vendor_class && vendor_class->group->filename)
strlcpy(state->filename, vendor_class->group->filename,
sizeof state->filename);
else if (packet->raw->file[0])
@@ -694,7 +694,7 @@ ack_lease(struct packet *packet, struct lease *lease, unsigned int offer,
state->server_name = lease->host->group->server_name;
else if (user_class && user_class->group->server_name)
state->server_name = user_class->group->server_name;
- else if (vendor_class && vendor_class->group->server_name)
+ else if (vendor_class && vendor_class->group->server_name)
state->server_name = vendor_class->group->server_name;
else if (lease->subnet->group->server_name)
state->server_name = lease->subnet->group->server_name;