Skip to content

Commit

Permalink
Mark new release candidate (5) and delete rx_nohandler spec statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
ruieduardolopes committed Oct 4, 2019
1 parent ff883d2 commit 1d1d4e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "monet"
version = "0.1.5-rc4"
version = "0.1.5-rc5"
authors = ["André Nascimento <[email protected]>", "Rui Lopes <[email protected]>"]
edition = "2018"

Expand Down
12 changes: 1 addition & 11 deletions src/capture/interfaces/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,6 @@ fn get_specs(interface: String, reporter: Logger, session: &Arc<AtomicUsize>) {
))
.scan()
.unwrap();
rx_nohandler = InputStream::new(BufReader::new(
File::open(format!(
"/sys/class/net/{}/statistics/rx_nohandler",
interface
))
.unwrap(),
))
.scan()
.unwrap();
rx_over_errors = InputStream::new(BufReader::new(
File::open(format!(
"/sys/class/net/{}/statistics/rx_over_errors",
Expand Down Expand Up @@ -251,7 +242,7 @@ fn get_specs(interface: String, reporter: Logger, session: &Arc<AtomicUsize>) {

info!(
reporter,
"[monet] {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {}",
"[monet] {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {} {}",
collisions,
multicast,
rx_bytes,
Expand All @@ -263,7 +254,6 @@ fn get_specs(interface: String, reporter: Logger, session: &Arc<AtomicUsize>) {
rx_frame_errors,
rx_length_errors,
rx_missed_errors,
rx_nohandler,
rx_over_errors,
rx_packets,
tx_aborted_errors,
Expand Down
2 changes: 1 addition & 1 deletion src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use clap::{App, Arg, ArgMatches, SubCommand};

pub fn get_options_from_cli() -> ArgMatches<'static> {
App::new("Monet: Monitor a Network")
.version("0.1.5-rc4")
.version("0.1.5-rc5")
.author("André Nascimento and Rui Lopes")
.about("Tool to get some insights on a network or interfaces")
.subcommand(
Expand Down

0 comments on commit 1d1d4e2

Please sign in to comment.