summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2014-02-07 18:42:18 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2014-02-07 18:42:18 +0000
commit1d12a79d158ed1ca8cdb6ab8f9dbc40fadb17f09 (patch)
tree61f2b4ff3b383e3a5c968c3b20d4510080ef99fc /sbin/dhclient/dhclient.c
parent58ce756f944d3d599c369456bce8880aa3001bce (diff)
Create -L leases files with the same 0000 permissions as regular
leases.IF files. Inconsistency pointed out by Jiri B.
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r--sbin/dhclient/dhclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 8e610077187..16053f9dc28 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.290 2014/02/07 18:12:17 krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.291 2014/02/07 18:42:17 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -1733,7 +1733,7 @@ rewrite_option_db(struct client_lease *offered, struct client_lease *effective)
write_file(path_option_db,
O_WRONLY | O_CREAT | O_TRUNC | O_SYNC | O_EXLOCK | O_NOFOLLOW,
- S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH, 0, 0, db, strlen(db));
+ 0, 0, 0, db, strlen(db));
}
char *