Skip to content

Commit

Permalink
nit: increase verbosity of espat NetNotify error (#684)
Browse files Browse the repository at this point in the history
espat: increase verbosity of espat NetNotify error
  • Loading branch information
leongross authored Jun 14, 2024
1 parent 4a0bcba commit 848f5de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions espat/espat.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (d *Device) NetDisconnect() {
}

func (d *Device) NetNotify(cb func(netlink.Event)) {
// Not supported
fmt.Printf("\r\n%s\r\n", netlink.ErrNotSupported)
}

func (d *Device) GetHostByName(name string) (netip.Addr, error) {
Expand Down Expand Up @@ -473,7 +473,6 @@ func (d *Device) parseIPD(end int) error {
}

// load up the socket data
//d.data = append(d.data, d.response[e+1:end]...)
d.data = append(d.data, d.response[e+1:e+1+v]...)
return nil
}
Expand Down

0 comments on commit 848f5de

Please sign in to comment.