Commit 1a980996 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

fix: mac to string;

parent 8cb453e2
......@@ -18,7 +18,7 @@ impl MacAddr {
for m in self.mac.iter() {
mac_string = format!("{}:{:02x}", mac_string, *m);
}
mac_string.pop();
mac_string.remove(0);
mac_string
}
pub fn marshal(&self, bytes: &mut Vec<u8>) {
......
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