summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhcpd.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-04-11 10:40:15 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-04-11 10:40:15 +0000
commitedf299a85ec23a188aea1319c9eaee502d3b7745 (patch)
tree039e31ecc5afc8be0836b0510e1c75d095e9eeac /sbin/dhclient/dhcpd.h
parent0bea209fdefc055aeeb25084443aab420ae87615 (diff)
Fold priv_write_file() into its only remaining user
priv_write_resolv_conf() and move the latter into kroute.c with all its priv_ friends. No intentional functional change.
Diffstat (limited to 'sbin/dhclient/dhcpd.h')
-rw-r--r--sbin/dhclient/dhcpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h
index 9f905209af5..ea88b3dfdc0 100644
--- a/sbin/dhclient/dhcpd.h
+++ b/sbin/dhclient/dhcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhcpd.h,v 1.169 2017/04/08 20:16:04 krw Exp $ */
+/* $OpenBSD: dhcpd.h,v 1.170 2017/04/11 10:40:14 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -172,6 +172,7 @@ struct dhcp_timeout {
void *arg;
};
+#define _PATH_RESOLV_CONF "/etc/resolv.conf"
#define _PATH_DHCLIENT_CONF "/etc/dhclient.conf"
#define _PATH_DHCLIENT_DB "/var/db/dhclient.leases"