mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 04:47:38 +02:00
Experimenting
This commit is contained in:
10
overlay/tun_no_prefix.go
Normal file
10
overlay/tun_no_prefix.go
Normal file
@@ -0,0 +1,10 @@
|
||||
//go:build (!darwin && !ios && !freebsd && !openbsd && !netbsd) || e2e_testing
|
||||
|
||||
package overlay
|
||||
|
||||
// StampTunPrefix is a no-op on platforms whose tun devices have no
|
||||
// protocol-family marker. WireBuffer only invokes it when its prefixLen
|
||||
// is non-zero, so this should never be reached on these platforms.
|
||||
func StampTunPrefix(buf []byte) error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user