Commit 38b71075 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

clear todo!

parent 6cb489d3
......@@ -37,13 +37,13 @@ pub trait ControllerFrame<OME: OfpMsgEvent> {
let message = self.get_ofp().msg_parse(message as u16);
match message {
OfpMsg::Hello => self.send_msg(self.get_ofp().fetures_req(), xid, stream),
OfpMsg::FeaturesReq => todo!(),
OfpMsg::FeaturesReq => (),
OfpMsg::PacketIn => {
self.packet_in_handler(xid, PacketInEvent::parse(&payload), stream);
}
OfpMsg::PacketOut => (),
OfpMsg::FlowMod => todo!(),
OfpMsg::NotFound => todo!(),
OfpMsg::FlowMod => (),
OfpMsg::NotFound => (),
}
}
......
......@@ -113,7 +113,7 @@ impl FlowAction {
}
let _ = bytes.write_u32::<BigEndian>(*qid);
}
FlowAction::Unparsable => todo!(),
FlowAction::Unparsable => (),
}
}
pub fn parse_sequence(bytes: &mut Cursor<Vec<u8>>) -> Vec<FlowAction> {
......
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