summaryrefslogtreecommitdiffhomepage
path: root/paramiko/transport.py
diff options
context:
space:
mode:
Diffstat (limited to 'paramiko/transport.py')
-rw-r--r--paramiko/transport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paramiko/transport.py b/paramiko/transport.py
index e8d3ef68..f7241bb7 100644
--- a/paramiko/transport.py
+++ b/paramiko/transport.py
@@ -231,7 +231,7 @@ class Transport (threading.Thread):
self._channels = ChannelMap()
self.channel_events = {} # (id -> Event)
self.channels_seen = {} # (id -> True)
- self._channel_counter = 1
+ self._channel_counter = 0
self.window_size = 65536
self.max_packet_size = 34816
self._forward_agent_handler = None