summaryrefslogtreecommitdiff
path: root/sbin/dhclient/clparse.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-03-02 18:49:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-03-02 18:49:22 +0000
commit42b6ae9827ff5d6ef0469411de4ee6d70a4b7420 (patch)
tree8d6673dea018ecc77ca40a3ff3667ea17d2d9c36 /sbin/dhclient/clparse.c
parent055ee0c405fb980cb81834b9b3810099c7e98f9e (diff)
more pruning; henning ok
Diffstat (limited to 'sbin/dhclient/clparse.c')
-rw-r--r--sbin/dhclient/clparse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/clparse.c b/sbin/dhclient/clparse.c
index 4bc419a2dea..751f80f5d29 100644
--- a/sbin/dhclient/clparse.c
+++ b/sbin/dhclient/clparse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clparse.c,v 1.11 2004/03/02 15:41:44 henning Exp $ */
+/* $OpenBSD: clparse.c,v 1.12 2004/03/02 18:49:21 deraadt Exp $ */
/* Parser for dhclient config and lease files... */
@@ -538,7 +538,7 @@ parse_client_lease_statement(FILE *cfile, int is_static)
for (lp = ip->client->leases; lp; lp = lp->next) {
if (lp->address.len == lease->address.len &&
!memcmp(lp->address.iabuf, lease->address.iabuf,
- lease->address.len)) {
+ lease->address.len)) {
if (pl)
pl->next = lp->next;
else
@@ -838,7 +838,7 @@ bad_flag:
goto alloc;
default:
warn("Bad format %c in parse_option_param.",
- *fmt);
+ *fmt);
skip_to_semi(cfile);
return (NULL);
}