mirror of
https://github.com/soypat/lneto.git
synced 2026-08-16 21:03:25 +00:00
add lock to tcp.Conn; claude Fix ARP handler not responding after DHCP
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -115,6 +115,9 @@ func run() (err error) {
|
||||
fmt.Println("ERR:ENCAPSULATE", err)
|
||||
} else if nwrite > 0 {
|
||||
frames, err = cap.CaptureEthernet(frames[:0], buf[:nwrite], 0)
|
||||
if err != nil {
|
||||
log.Println("ERR capture", err)
|
||||
}
|
||||
if len(frames) > 0 {
|
||||
fmt.Println("OUT", frames)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user