mirror of
https://github.com/soypat/lneto.git
synced 2026-08-14 20:03:45 +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")
|
||||
}
|
||||
*h = Handler{
|
||||
connID: h.connID + 1,
|
||||
connID: h.connID,
|
||||
ourHWAddr: h.ourHWAddr[:0],
|
||||
ourProtoAddr: h.ourProtoAddr[:0],
|
||||
htype: cfg.HardwareType,
|
||||
|
||||
Reference in New Issue
Block a user