mirror of
https://github.com/soypat/lneto.git
synced 2026-08-31 11:59:05 +00:00
begin testing tcp listener (not working)
This commit is contained in:
+1
-1
@@ -150,7 +150,7 @@ func (c *Handler) Recv(b []byte) error {
|
||||
var vld lneto.Validator
|
||||
afrm.ValidateSize(&vld)
|
||||
if vld.HasError() {
|
||||
return vld.Err()
|
||||
return vld.ErrPop()
|
||||
}
|
||||
htype, hlen := afrm.Hardware()
|
||||
if htype != c.htype || int(hlen) != len(c.ourHWAddr) {
|
||||
|
||||
Reference in New Issue
Block a user