summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mount_portalfs
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1998-12-12 21:30:17 +0000
committerdillon <dillon@FreeBSD.org>1998-12-12 21:30:17 +0000
commitb9c991f4868ca0e7c01e203ee7261d0064d5d013 (patch)
treec961f091ad87f8dff3e8901a3ab5c0b7b17dbe30 /usr.sbin/mount_portalfs
parent127655f6ddbdc440718336f96821295020e660e5 (diff)
downloadFreeBSD-src-b9c991f4868ca0e7c01e203ee7261d0064d5d013.zip
FreeBSD-src-b9c991f4868ca0e7c01e203ee7261d0064d5d013.tar.gz
sendmsg() didn't like the MSG_EOR flag and returned an error. Removing the
flag makes portal tcp operation work.
Diffstat (limited to 'usr.sbin/mount_portalfs')
-rw-r--r--usr.sbin/mount_portalfs/activate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mount_portalfs/activate.c b/usr.sbin/mount_portalfs/activate.c
index 5bbd3b5..6eb0c58 100644
--- a/usr.sbin/mount_portalfs/activate.c
+++ b/usr.sbin/mount_portalfs/activate.c
@@ -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);
OpenPOWER on IntegriCloud