瀏覽代碼

Added DNS resolver configuration option.

tags/v0.9.3
Michael Brown 20 年之前
父節點
當前提交
6cd0fa5807
共有 2 個文件被更改,包括 18 次插入0 次删除
  1. 10
    0
      src/config.h
  2. 8
    0
      src/core/config.c

+ 10
- 0
src/config.h 查看文件

64
 
64
 
65
 /* @END isa.h */
65
 /* @END isa.h */
66
 
66
 
67
+/* @BEGIN general.h
68
+ *
69
+ * Name resolution modules
70
+ *
71
+ */
72
+
73
+#define	DNS_RESOLVER		/* DNS resolver */
74
+
75
+/* @END general.h */
76
+
67
 /* @BEGIN general.h
77
 /* @BEGIN general.h
68
  *
78
  *
69
  * Obscure configuration options
79
  * Obscure configuration options

+ 8
- 0
src/core/config.c 查看文件

169
 #ifdef RELOCATE
169
 #ifdef RELOCATE
170
 REQUIRE_OBJECT ( relocate );
170
 REQUIRE_OBJECT ( relocate );
171
 #endif
171
 #endif
172
+
173
+/*
174
+ * Drag in any required resolvers
175
+ *
176
+ */
177
+#ifdef DNS_RESOLVER
178
+REQUIRE_OBJECT ( dns_resolver );
179
+#endif

Loading…
取消
儲存