summaryrefslogtreecommitdiff
path: root/usr.sbin/dhcp/includes/cf/nextstep.h
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2001-06-24 06:05:12 +0000
committerBob Beck <beck@cvs.openbsd.org>2001-06-24 06:05:12 +0000
commitb05a03077c919111a1996bc750b5680d14414c50 (patch)
tree0e7ff68ba57f076be7c2acba2b531b69f097a762 /usr.sbin/dhcp/includes/cf/nextstep.h
parent31a8df16f90ba9044505180bdd3f03fb36c1ca39 (diff)
dhcp 2.0pl5 merge/cleanup/deadcode slashing. still needs more eyes on this
but appears to work better than what's been in-tree before for dealing with stupid dhcp servers.
Diffstat (limited to 'usr.sbin/dhcp/includes/cf/nextstep.h')
-rw-r--r--usr.sbin/dhcp/includes/cf/nextstep.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/usr.sbin/dhcp/includes/cf/nextstep.h b/usr.sbin/dhcp/includes/cf/nextstep.h
index c1e88e1d205..38b4d479d1d 100644
--- a/usr.sbin/dhcp/includes/cf/nextstep.h
+++ b/usr.sbin/dhcp/includes/cf/nextstep.h
@@ -68,9 +68,19 @@ extern int h_errno;
#define IPTOS_THROUGHPUT 0x08
#define IPTOS_RELIABILITY 0x04
#endif
-#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
-#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
-#define _PATH_DHCLIENT_PID "/etc/dhcrelay.pid"
+
+#if !defined (_PATH_DHCPD_PID)
+# define _PATH_DHCPD_PID "/etc/dhcpd.pid"
+#endif
+
+#if !defined (_PATH_DHCLIENT_PID)
+# define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
+#endif
+
+#if !defined (_PATH_DHCRELAY_PID)
+# define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
+#endif
+
/* Stdarg definitions for ANSI-compliant C compilers. */
#import <stdarg.h>
#define VA_DOTDOTDOT ...