summaryrefslogtreecommitdiff
path: root/qpid/extras/dispatch/python
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2013-10-11 15:14:12 +0000
committerTed Ross <tross@apache.org>2013-10-11 15:14:12 +0000
commit1b1c02486f1036d1e26a073361b6688ca48eaeb2 (patch)
treec7fb4d8ecdb9f594d8d9e3a3749c059e62a07863 /qpid/extras/dispatch/python
parent3fb57a88813f6fa7e8d8bb9c85a5383dbc7e2d95 (diff)
downloadqpid-python-1b1c02486f1036d1e26a073361b6688ca48eaeb2.tar.gz
QPID-5216
- Fixed bug that blocked routing of messages inbound from a client link - Changed trace to accept any initial header value git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1531328 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/extras/dispatch/python')
-rw-r--r--qpid/extras/dispatch/python/qpid/dispatch/router/node.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/extras/dispatch/python/qpid/dispatch/router/node.py b/qpid/extras/dispatch/python/qpid/dispatch/router/node.py
index b1f6df2662..f1abb5702a 100644
--- a/qpid/extras/dispatch/python/qpid/dispatch/router/node.py
+++ b/qpid/extras/dispatch/python/qpid/dispatch/router/node.py
@@ -36,9 +36,10 @@ class NodeTracker(object):
self.max_routers = max_routers
self.nodes = {} # id => RemoteNode
self.maskbits = []
- self.next_maskbit = 0
+ self.next_maskbit = 1 # Reserve bit '0' to represent this router
for i in range(max_routers):
self.maskbits.append(None)
+ self.maskbits[0] = True
def tick(self, now):