From 1b1c02486f1036d1e26a073361b6688ca48eaeb2 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Fri, 11 Oct 2013 15:14:12 +0000 Subject: 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 --- qpid/extras/dispatch/python/qpid/dispatch/router/node.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qpid/extras/dispatch/python') 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): -- cgit v1.2.1