Bläddra i källkod

[Settings] Add named setting for next-server

It's probably easier to have a named setting for next-server, rather
than to explain to people why they need to pretend it is option 175.3.
tags/v0.9.4
Michael Brown 16 år sedan
förälder
incheckning
8f00c84828
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6
    0
      src/core/settings.c

+ 6
- 0
src/core/settings.c Visa fil

@@ -1084,6 +1084,12 @@ struct named_setting basic_named_settings[] __named_setting = {
1084 1084
 		.tag = DHCP_HOST_NAME,
1085 1085
 		.type = &setting_type_string,
1086 1086
 	},
1087
+	{
1088
+		.name = "next-server",
1089
+		.description = "TFTP server",
1090
+		.tag = DHCP_EB_SIADDR,
1091
+		.type = &setting_type_ipv4,
1092
+	},
1087 1093
 	{
1088 1094
 		.name = "filename",
1089 1095
 		.description = "Boot filename",

Laddar…
Avbryt
Spara