summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-10-31 16:19:05 +0100
committerGravatar Christian Hesse <mail@eworm.de>2013-10-31 16:19:05 +0100
commitf0ec293fee4f149e0234d0bfccdd6189145370e8 (patch)
treeb914cfefe849b426305825728f64e71bab176099 /config.def.h
parent81f33f4d6f59ca1d27d767ed3619ed0e2e73e0d7 (diff)
downloaddyndhcpd-f0ec293fee4f149e0234d0bfccdd6189145370e8.tar.gz
dyndhcpd-f0ec293fee4f149e0234d0bfccdd6189145370e8.tar.zst
initial commit
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: