diff --git a/src/openflow/ofp_manager/ofp_v1_0.rs b/src/openflow/ofp_manager/ofp_v1_0.rs index 13c0ccc..4c51c6a 100644 --- a/src/openflow/ofp_manager/ofp_v1_0.rs +++ b/src/openflow/ofp_manager/ofp_v1_0.rs @@ -52,7 +52,7 @@ impl OfpMsgEvent for Openflow10 { match msg { 0 => OfpMsg::Hello, 5 => OfpMsg::FeaturesReq, - 8 => OfpMsg::PacketIn, + 10 => OfpMsg::PacketIn, 13 => OfpMsg::PacketOut, 14 => OfpMsg::FlowMod, _ => OfpMsg::NotFound, @@ -63,7 +63,7 @@ impl OfpMsgEvent for Openflow10 { match msg { OfpMsg::Hello => 0, OfpMsg::FeaturesReq => 5, - OfpMsg::PacketIn => 8, + OfpMsg::PacketIn => 10, OfpMsg::PacketOut => 13, OfpMsg::FlowMod => 14, _ => 1024,