mirror of
https://github.com/soypat/lneto.git
synced 2026-09-08 15:59:10 +00:00
Preliminary patch to avoid ARP to stop working after resetting it.
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ func (h *Handler) Reset(cfg HandlerConfig) error {
|
|||||||
return errors.New("invalid Handler query or pending config")
|
return errors.New("invalid Handler query or pending config")
|
||||||
}
|
}
|
||||||
*h = Handler{
|
*h = Handler{
|
||||||
connID: h.connID + 1,
|
connID: h.connID,
|
||||||
ourHWAddr: h.ourHWAddr[:0],
|
ourHWAddr: h.ourHWAddr[:0],
|
||||||
ourProtoAddr: h.ourProtoAddr[:0],
|
ourProtoAddr: h.ourProtoAddr[:0],
|
||||||
htype: cfg.HardwareType,
|
htype: cfg.HardwareType,
|
||||||
|
|||||||
Reference in New Issue
Block a user