mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 04:47:38 +02:00
broken checkpt
This commit is contained in:
10
wire/wire_generic.go
Normal file
10
wire/wire_generic.go
Normal file
@@ -0,0 +1,10 @@
|
||||
//go:build !linux
|
||||
// +build !linux
|
||||
|
||||
package wire
|
||||
|
||||
// PerSegment invokes fn once per segment of pkt.
|
||||
// This is a stub implementation that does not actually support segmentation
|
||||
func (t *TunPacket) PerSegment(fn func(seg []byte) error) error {
|
||||
return fn(t.Bytes)
|
||||
}
|
||||
Reference in New Issue
Block a user