[syslinux:master] pxe/dhcp_option: Don' t parse DHCP option 54 Server Identifier

syslinux-bot for Gene Cumm gene.cumm at gmail.com
Sun Sep 13 04:06:04 PDT 2015


Commit-ID:  229ada1e7af3545b78bdc73ffc36db54e1cf42e5
Gitweb:     http://www.syslinux.org/commit/229ada1e7af3545b78bdc73ffc36db54e1cf42e5
Author:     Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Sat, 12 Sep 2015 07:42:37 -0400
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Sat, 12 Sep 2015 07:42:37 -0400

pxe/dhcp_option: Don't parse DHCP option 54 Server Identifier

Server Identifier is NEVER the next server where Syslinux was loaded from.

BOOTP field siaddr, BOOTP field sname and DHCP option 66 TFTP server name
may contain this information.  For now, just use siaddr.

---
 core/fs/pxe/dhcp_option.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/core/fs/pxe/dhcp_option.c b/core/fs/pxe/dhcp_option.c
index 8d93a6a..5cc0ef7 100644
--- a/core/fs/pxe/dhcp_option.c
+++ b/core/fs/pxe/dhcp_option.c
@@ -143,7 +143,6 @@ static const struct dhcp_options dhcp_opts[] = {
     {15,  local_domain},
     {43,  vendor_encaps},
     {52,  option_overload},
-    {54,  server},
     {61,  client_identifier},
     {67,  bootfile_name},
     {97,  uuid_client_identifier},


More information about the Syslinux-commits mailing list