Merge from branch wire_protocol

Warn and continue if wire protocol is incorrect
This commit is contained in:
Eric Gable
2013-05-15 13:10:39 -07:00
parent 95b2e39bbf
commit 4f3ff0f991
+3 -3
View File
@@ -1476,9 +1476,9 @@ class Agent(Util):
v = GetNodeTextData(a.getElementsByTagName("Version")[0])
Log("Fabric preferred wire protocol version: " + v)
if not protocolVersionSeen:
Error("Agent supported wire protocol version: " + ProtocolVersion + " was not advertised by Fabric.")
return False
Log("Negotiated wire protocol version: " + ProtocolVersion)
Warn("Agent supported wire protocol version: " + ProtocolVersion + " was not advertised by Fabric.")
else:
Log("Negotiated wire protocol version: " + ProtocolVersion)
return True
def Unpack(self, buffer, offset, range):