Commit 950409b2 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

update error remove ofp10

parent 99975c59
...@@ -4,7 +4,7 @@ use std::{ ...@@ -4,7 +4,7 @@ use std::{
}; };
use super::error_type::ErrorType; use super::error_type::ErrorType;
use crate::openflow::ofp10::{MessageMarshal, Msg}; use crate::openflow::ofp13::{MessageMarshal, Msg};
use byteorder::{BigEndian, ReadBytesExt}; use byteorder::{BigEndian, ReadBytesExt};
pub struct ErrorEvent { pub struct ErrorEvent {
...@@ -32,7 +32,7 @@ impl ErrorEvent { ...@@ -32,7 +32,7 @@ impl ErrorEvent {
impl MessageMarshal for ErrorEvent { impl MessageMarshal for ErrorEvent {
fn marshal(&self, _: &mut Vec<u8>) {} fn marshal(&self, _: &mut Vec<u8>) {}
fn msg_code(&self) -> crate::openflow::ofp10::Msg { fn msg_code(&self) -> Msg {
Msg::Error Msg::Error
} }
......
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