summaryrefslogtreecommitdiff
path: root/net/cmu-dhcpd/patches/patch-aa
blob: 45599c18866989eea632dc0b57e79cff075a0803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
$NetBSD: patch-aa,v 1.1.1.1 2002/10/18 22:06:01 abs Exp $

--- defaults.h.orig	Wed Oct 20 20:14:15 1999
+++ defaults.h
@@ -41,7 +41,7 @@
 /* override each of them from the commandline.                        */
 
 /* Absolute path to pidfile. */ 
-#define PID_FILE "/etc/dhcpd.pid"
+#define PID_FILE "/var/run/cmu-dhcpd.pid"
 
 /* Absolute path to bootptab file. */
 #define TAB_FILE "/etc/bootptab"
@@ -50,7 +50,7 @@
 #define CONFIG_FILE "/etc/dhcpd.conf"
 
 /* Absolute path to bindings directory. */ 
-#define LASTBINDDIR "/etc/bindings"
+#define LASTBINDDIR "/var/db/bindings"
 
 /* Absolute path to bootptab dump file. */ 
 #define DUMPTAB_FILE "/tmp/bootpd.dump"
@@ -81,6 +81,9 @@
    do this, if your platform needs that route to work right, you'll need
    to add the route manually before starting the daemon. */
 /* #define NOBROADCAST */
+#ifdef __NetBSD__
+#define NOBROADCAST
+#endif
 
 /*                                                                    */
 /**********************************************************************/