Commit 03251b8d authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

fixed: cpu is working too hard

parent f1c8a60e
......@@ -84,7 +84,7 @@ impl ControllerFrame13 for Controller13 {
match_fields,
&actions,
packetin.table_id,
Some(buf_id as u32),
Some(buf_id),
stream,
);
return;
......
......@@ -27,7 +27,7 @@ pub fn tcp_listener_handler(
ctrl.request_handler(&mut buffer, &mut stream);
}
Ok(_) => {
continue;
break;
}
Err(_) => {
println!("cannot read packet");
......
......@@ -27,7 +27,7 @@ pub fn tcp_listener_handler(
ctrl.request_handler(&mut buffer, &mut stream);
}
Ok(_) => {
continue;
break;
}
Err(_) => {
println!("cannot read packet");
......
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