nit: increase verbosity of espat NetNotify error (#684)

espat: increase verbosity of espat NetNotify error
This commit is contained in:
leongross
2024-06-14 17:36:07 +02:00
committed by GitHub
parent 4a0bcba87c
commit 848f5def03
+1 -2
View File
@@ -122,7 +122,7 @@ func (d *Device) NetDisconnect() {
} }
func (d *Device) NetNotify(cb func(netlink.Event)) { 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) { func (d *Device) GetHostByName(name string) (netip.Addr, error) {
@@ -473,7 +473,6 @@ func (d *Device) parseIPD(end int) error {
} }
// load up the socket data // 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]...) d.data = append(d.data, d.response[e+1:e+1+v]...)
return nil return nil
} }