[Settings] Add named setting for next-server
authorMichael Brown <mcb30@etherboot.org>
Mon, 24 Mar 2008 00:48:06 +0000 (00:48 +0000)
committerMichael Brown <mcb30@etherboot.org>
Mon, 24 Mar 2008 00:48:06 +0000 (00:48 +0000)
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.

src/core/settings.c

index b78e05e..809779a 100644 (file)
@@ -1084,6 +1084,12 @@ struct named_setting basic_named_settings[] __named_setting = {
                .tag = DHCP_HOST_NAME,
                .type = &setting_type_string,
        },
                .tag = DHCP_HOST_NAME,
                .type = &setting_type_string,
        },
+       {
+               .name = "next-server",
+               .description = "TFTP server",
+               .tag = DHCP_EB_SIADDR,
+               .type = &setting_type_ipv4,
+       },
        {
                .name = "filename",
                .description = "Boot filename",
        {
                .name = "filename",
                .description = "Boot filename",