Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
v03413 committed Jun 21, 2022
1 parent 182326d commit c7a890f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ func (c *Client) getTraffic(ret *update) {

var inters = []string{
"lo",
"eth",
"tun",
"docker",
"veth",
Expand All @@ -93,7 +92,8 @@ func (c *Client) getTraffic(ret *update) {

for _, info := range items {
for _, v := range inters {
if !strings.Contains(info.Name, v) {
if strings.Contains(info.Name, v) {

continue
}

Expand Down
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"time"
)

const Version = 0.13
const Version = 0.14
const DefaultServer = "127.0.0.1"
const DefaultPort = 35601
const DefaultInterval = 1
Expand Down

0 comments on commit c7a890f

Please sign in to comment.