1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

sendmsg() didn't like the MSG_EOR flag and returned an error. Removing the

flag makes portal tcp operation work.
This commit is contained in:
Matthew Dillon 1998-12-12 21:30:17 +00:00
parent 4c01697599
commit 25970dbc51
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41701
3 changed files with 6 additions and 6 deletions

View File

@ -39,7 +39,7 @@
#ifndef lint
static const char rcsid[] =
"$Id$";
"$Id: activate.c,v 1.5 1998/07/06 07:19:23 charnier Exp $";
#endif /* not lint */
#include <errno.h>
@ -148,7 +148,7 @@ int error;
/*
* Send to kernel...
*/
if ((n = sendmsg(so, &msg, MSG_EOR)) < 0)
if ((n = sendmsg(so, &msg, 0)) < 0)
syslog(LOG_ERR, "send: %s", strerror(errno));
#ifdef DEBUG
fprintf(stderr, "sent %d bytes\n", n);

View File

@ -39,7 +39,7 @@
#ifndef lint
static const char rcsid[] =
"$Id$";
"$Id: activate.c,v 1.5 1998/07/06 07:19:23 charnier Exp $";
#endif /* not lint */
#include <errno.h>
@ -148,7 +148,7 @@ int error;
/*
* Send to kernel...
*/
if ((n = sendmsg(so, &msg, MSG_EOR)) < 0)
if ((n = sendmsg(so, &msg, 0)) < 0)
syslog(LOG_ERR, "send: %s", strerror(errno));
#ifdef DEBUG
fprintf(stderr, "sent %d bytes\n", n);

View File

@ -39,7 +39,7 @@
#ifndef lint
static const char rcsid[] =
"$Id$";
"$Id: activate.c,v 1.5 1998/07/06 07:19:23 charnier Exp $";
#endif /* not lint */
#include <errno.h>
@ -148,7 +148,7 @@ int error;
/*
* Send to kernel...
*/
if ((n = sendmsg(so, &msg, MSG_EOR)) < 0)
if ((n = sendmsg(so, &msg, 0)) < 0)
syslog(LOG_ERR, "send: %s", strerror(errno));
#ifdef DEBUG
fprintf(stderr, "sent %d bytes\n", n);