diff channel.h @ 243:0056419cf0f4

* ensure that we only handle open confirmation/failure for channels where it is expected
author Matt Johnston <matt@ucc.asn.au>
date Mon, 05 Sep 2005 17:10:32 +0000
parents 581f81e8c50c
children 84925eceeb13
line wrap: on
line diff
--- a/channel.h	Mon Sep 05 15:16:52 2005 +0000
+++ b/channel.h	Mon Sep 05 17:10:32 2005 +0000
@@ -81,6 +81,10 @@
 	int initconn; /* used for TCP forwarding, whether the channel has been
 					 fully initialised */
 
+	int await_open; /* flag indicating whether we've sent an open request
+					   for this channel (and are awaiting a confirmation
+					   or failure). */
+
 	const struct ChanType* type;
 
 };