summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
new file mode 100644
index 0000000..367f05c
--- /dev/null
+++ b/config.def.h
@@ -0,0 +1,20 @@
+/*
+ * (C) 2013 by Christian Hesse <mail@eworm.de>
+ *
+ * This software may be used and distributed according to the terms
+ * of the GNU General Public License, incorporated herein by reference.
+ */
+
+#ifndef _CONFIG_H
+#define _CONFIG_H
+
+/* use this for domain if gethostbyname() fails */
+#define FALLBACKDOMAIN "localdomain"
+
+/* pathes for config file, first is read, second is written */
+#define CONFIG_TEMPLATE "/etc/dyndhcpd/dhcpd.conf"
+#define CONFIG_OUTPUT "/tmp/dhcpd_%s.conf"
+
+#endif /* _CONFIG_H */
+
+// vim: set syntax=c: