=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/packet.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- src/usr.bin/ssh/packet.c 1999/10/01 18:18:40 1.7 +++ src/usr.bin/ssh/packet.c 1999/10/03 19:22:38 1.8 @@ -15,7 +15,7 @@ */ #include "includes.h" -RCSID("$Id: packet.c,v 1.7 1999/10/01 18:18:40 deraadt Exp $"); +RCSID("$Id: packet.c,v 1.8 1999/10/03 19:22:38 deraadt Exp $"); #include "xmalloc.h" #include "buffer.h" @@ -137,7 +137,7 @@ initialized = 0; if (connection_in == connection_out) { - shutdown(connection_out, 2); + shutdown(connection_out, SHUT_RDWR); close(connection_out); } else