summaryrefslogtreecommitdiffhomepage
path: root/netifd.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-10 22:17:03 +0200
committerFelix Fietkau <nbd@openwrt.org>2011-10-11 15:23:44 +0200
commit41842d3f91733786cb4d2bcdc6ca0c3a1a1c594b (patch)
treeac120ef2e43cc60b18a81ea9fbf5f6f1e60c8f54 /netifd.h
parent34a1a4bad31ba6f138cd6a98249c774ff66285d1 (diff)
add some code for keeping track of dns servers and search domains and for writing resolv.conf
Diffstat (limited to 'netifd.h')
-rw-r--r--netifd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/netifd.h b/netifd.h
index aa04c51..d034e7a 100644
--- a/netifd.h
+++ b/netifd.h
@@ -16,11 +16,14 @@
#ifdef DUMMY_MODE
#define DEFAULT_MAIN_PATH "./dummy"
#define DEFAULT_HOTPLUG_PATH "./scripts/hotplug-cmd"
+#define DEFAULT_RESOLV_CONF "./tmp/resolv.conf"
#else
#define DEFAULT_MAIN_PATH "/lib/netifd"
#define DEFAULT_HOTPLUG_PATH "/sbin/hotplug-cmd"
+#define DEFAULT_RESOLV_CONF "/tmp/resolv.conf.auto"
#endif
+extern const char *resolv_conf;
extern char *hotplug_cmd_path;
extern unsigned int debug_mask;