diff options
| author | Michael Brown | 2012-04-17 12:50:11 +0200 |
|---|---|---|
| committer | Michael Brown | 2012-04-17 12:50:11 +0200 |
| commit | 52e5ddce68adfe4afe3fe55ba317a2ba98d27b01 (patch) | |
| tree | 3be7f4e6a724898bb6e43ebdb657ce3362ed49ec /src/net/udp | |
| parent | [settings] Split fetching and storing out of setting type handlers (diff) | |
| download | ipxe-52e5ddce68adfe4afe3fe55ba317a2ba98d27b01.tar.gz ipxe-52e5ddce68adfe4afe3fe55ba317a2ba98d27b01.tar.xz ipxe-52e5ddce68adfe4afe3fe55ba317a2ba98d27b01.zip | |
[tftp] Allow builds without TFTP support
Allow TFTP to be configured out by moving the next-server setting
definition (which is used by autoboot.c) from tftp.c to settings.c.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/udp')
| -rw-r--r-- | src/net/udp/tftp.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/net/udp/tftp.c b/src/net/udp/tftp.c index 7cd211e41..a2d6473c3 100644 --- a/src/net/udp/tftp.c +++ b/src/net/udp/tftp.c @@ -1214,14 +1214,6 @@ struct uri_opener mtftp_uri_opener __uri_opener = { ****************************************************************************** */ -/** TFTP server setting */ -struct setting next_server_setting __setting ( SETTING_BOOT ) = { - .name = "next-server", - .description = "TFTP server", - .tag = DHCP_EB_SIADDR, - .type = &setting_type_ipv4, -}; - /** * Apply TFTP configuration settings * |
