[syslinux:lwip] pxe, http: Use Syslinux/<version> as the User-agent:

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Tue Apr 26 15:30:03 PDT 2011


Commit-ID:  3560c7519efefc126a5a5e24de079ed91b5745c2
Gitweb:     http://syslinux.zytor.com/commit/3560c7519efefc126a5a5e24de079ed91b5745c2
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 26 Apr 2011 15:27:08 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 26 Apr 2011 15:27:08 -0700

pxe, http: Use Syslinux/<version> as the User-agent:

Use Syslinux as the User-agent name.

Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>


---
 core/fs/pxe/http.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/core/fs/pxe/http.c b/core/fs/pxe/http.c
index c7613bb..75b3d3f 100644
--- a/core/fs/pxe/http.c
+++ b/core/fs/pxe/http.c
@@ -202,7 +202,7 @@ void http_open(struct url_info *url, struct inode *inode, const char **redir)
 			     header_len - header_bytes,
 			     " HTTP/1.0\r\n"
 			     "Host: %s\r\n"
-			     "User-Agent: PXELINUX/" VERSION_STR "\r\n"
+			     "User-Agent: Syslinux/" VERSION_STR "\r\n"
 			     "Connection: close\r\n"
 			     "%s"
 			     "\r\n",



More information about the Syslinux-commits mailing list