Make a CR/LF sequence measure up to its name: the order of the CR and LF
characters was reversed, resulting in some network appliances, including at least some NAS devices from Ascend, not recognizing our finger(1) request. PR: 45914 Submitted by: J R Matthews <jrm@delta-e.com.au> Approved by: re (rwatson) MFC after: 2 weeks
This commit is contained in:
parent
c525f9c9a4
commit
8c9589bdea
@ -116,7 +116,7 @@ do_protocol(const char *name, const struct addrinfo *ai)
|
||||
struct iovec iov[3];
|
||||
struct msghdr msg;
|
||||
static char slash_w[] = "/W ";
|
||||
static char neteol[] = "\n\r";
|
||||
static char neteol[] = "\r\n";
|
||||
|
||||
s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
|
||||
if (s < 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user