Commit 47a531cb authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

fix wrong message code in ofp v1.0

parent 372ec219
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment