Selaa lähdekoodia

[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 vuotta sitten
vanhempi
commit
8f00c84828
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6
    0
      src/core/settings.c

+ 6
- 0
src/core/settings.c Näytä tiedosto

1084
 		.tag = DHCP_HOST_NAME,
1084
 		.tag = DHCP_HOST_NAME,
1085
 		.type = &setting_type_string,
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
 		.name = "filename",
1094
 		.name = "filename",
1089
 		.description = "Boot filename",
1095
 		.description = "Boot filename",

Loading…
Peruuta
Tallenna