diff options
Diffstat (limited to 'packet.c')
-rw-r--r-- | packet.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,7 +37,7 @@ | |||
37 | */ | 37 | */ |
38 | 38 | ||
39 | #include "includes.h" | 39 | #include "includes.h" |
40 | RCSID("$OpenBSD: packet.c,v 1.66 2001/06/12 16:11:26 markus Exp $"); | 40 | RCSID("$OpenBSD: packet.c,v 1.67 2001/06/20 13:56:39 markus Exp $"); |
41 | 41 | ||
42 | #include "xmalloc.h" | 42 | #include "xmalloc.h" |
43 | #include "buffer.h" | 43 | #include "buffer.h" |
@@ -1085,7 +1085,7 @@ packet_disconnect(const char *fmt,...) | |||
1085 | packet_write_wait(); | 1085 | packet_write_wait(); |
1086 | 1086 | ||
1087 | /* Stop listening for connections. */ | 1087 | /* Stop listening for connections. */ |
1088 | channel_stop_listening(); | 1088 | channel_close_all(); |
1089 | 1089 | ||
1090 | /* Close the connection. */ | 1090 | /* Close the connection. */ |
1091 | packet_close(); | 1091 | packet_close(); |