From b9c991f4868ca0e7c01e203ee7261d0064d5d013 Mon Sep 17 00:00:00 2001 From: dillon Date: Sat, 12 Dec 1998 21:30:17 +0000 Subject: sendmsg() didn't like the MSG_EOR flag and returned an error. Removing the flag makes portal tcp operation work. --- sbin/mount_portal/activate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/mount_portal') diff --git a/sbin/mount_portal/activate.c b/sbin/mount_portal/activate.c index 5bbd3b5..6eb0c58 100644 --- a/sbin/mount_portal/activate.c +++ b/sbin/mount_portal/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 @@ -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); -- cgit v1.1