Browse Source

Added "hostname" and "ip" as sample settings

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
dd9399f527
1 changed files with 13 additions and 0 deletions
  1. 13
    0
      src/core/settings.c

+ 13
- 0
src/core/settings.c View File

251
 	.set = set_ipv4,
251
 	.set = set_ipv4,
252
 };
252
 };
253
 
253
 
254
+/** Some basic setting definitions */
255
+struct config_setting basic_config_settings[] __config_setting = {
256
+	{
257
+		.name = "hostname",
258
+		.tag = DHCP_HOST_NAME,
259
+		.type = &config_setting_type_string,
260
+	},
261
+	{
262
+		.name = "ip",
263
+		.tag = DHCP_EB_YIADDR,
264
+		.type = &config_setting_type_ipv4,
265
+	},
266
+};

Loading…
Cancel
Save