Committed by
Gerrit Code Review
Making OFChannel friendlier to non-compliant switches.
Change-Id: I7917569cdb77f0baf3f485f981fd53b114e80d69
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -941,7 +941,8 @@ class OFChannelHandler extends IdleStateAwareChannelHandler { | ... | @@ -941,7 +941,8 @@ class OFChannelHandler extends IdleStateAwareChannelHandler { |
941 | void processOFHello(OFChannelHandler h, OFHello m) | 941 | void processOFHello(OFChannelHandler h, OFHello m) |
942 | throws IOException, SwitchStateException { | 942 | throws IOException, SwitchStateException { |
943 | // we only expect hello in the WAIT_HELLO state | 943 | // we only expect hello in the WAIT_HELLO state |
944 | - illegalMessageReceived(h, m); | 944 | + log.warn("Received Hello outside WAIT_HELLO state; switch {} is not complaint.", |
945 | + h.channel.getRemoteAddress()); | ||
945 | } | 946 | } |
946 | 947 | ||
947 | void processOFBarrierReply(OFChannelHandler h, OFBarrierReply m) | 948 | void processOFBarrierReply(OFChannelHandler h, OFBarrierReply m) | ... | ... |
-
Please register or login to post a comment