Merge remote-tracking branch 'origin/main' into merge-modify-peer-reactivate

This commit is contained in:
Viktor Liu
2026-08-20 19:25:52 +02:00
30 changed files with 409 additions and 153 deletions
+1 -1
View File
@@ -2593,7 +2593,7 @@ func (e *Engine) SetCapture(pc device.PacketCapture) error {
}
afc := capture.NewAFPacketCapture(intf.Name(), sess)
if err := afc.Start(); err != nil {
if err := afc.Start(); err != nil { //nolint:staticcheck // always errors on non-Linux builds
return fmt.Errorf("start AF_PACKET capture on %s: %w", intf.Name(), err)
}
e.afpacketCapture = afc