alshabib
Committed by Gerrit Code Review

Making OFChannel friendlier to non-compliant switches.

Change-Id: I7917569cdb77f0baf3f485f981fd53b114e80d69
......@@ -941,7 +941,8 @@ class OFChannelHandler extends IdleStateAwareChannelHandler {
void processOFHello(OFChannelHandler h, OFHello m)
throws IOException, SwitchStateException {
// we only expect hello in the WAIT_HELLO state
illegalMessageReceived(h, m);
log.warn("Received Hello outside WAIT_HELLO state; switch {} is not complaint.",
h.channel.getRemoteAddress());
}
void processOFBarrierReply(OFChannelHandler h, OFBarrierReply m)
......