mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 21:07:36 +02:00
potential for bug
This commit is contained in:
@@ -75,6 +75,10 @@ func (t *tun) ReadBatch() ([][]byte, error) {
|
||||
return t.batchRet[:], nil
|
||||
}
|
||||
|
||||
func (t *tun) WriteReject(p []byte) (int, error) {
|
||||
return t.Write(p)
|
||||
}
|
||||
|
||||
var deviceNameRE = regexp.MustCompile(`^tun[0-9]+$`)
|
||||
|
||||
func newTunFromFd(_ *config.C, _ *logrus.Logger, _ int, _ []netip.Prefix) (*tun, error) {
|
||||
|
||||
Reference in New Issue
Block a user