Forgot to add Ok(())
This commit is contained in:
@@ -38,6 +38,7 @@ fn pcap_loop<T: Read>(tx: Sender<KissPkt>, stream: T) -> Result<()> {
|
||||
data: pkt.data.into(),
|
||||
})?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
fn tnc_loop<T: Read>(tx: Sender<KissPkt>, mut stream: T) -> Result<()> {
|
||||
let mut buffer = [0_u8; 4096];
|
||||
|
||||
Reference in New Issue
Block a user