Fix tests

pull/141/head
Dennis Schwerdel 2021-01-24 17:47:02 +01:00
parent 8c4d86a101
commit b6f4460f29
1 changed files with 2 additions and 2 deletions

View File

@ -5,12 +5,12 @@
use std::{
cmp,
collections::VecDeque,
convert::TryInto,
fmt,
fs::{self, File},
io::{self, BufRead, BufReader, Cursor, Error as IoError, Read, Write},
net::{Ipv4Addr, UdpSocket},
os::unix::io::{AsRawFd, RawFd},
convert::TryInto,
str,
str::FromStr
};
@ -329,7 +329,7 @@ impl Device for MockDevice {
}
fn ifname(&self) -> &str {
unimplemented!()
"mock0"
}
fn read(&mut self, buffer: &mut MsgBuffer) -> Result<(), Error> {