Remove WriteFromSelf

This commit is contained in:
JackDoan
2026-04-28 10:56:57 -05:00
parent 8b02b8128e
commit a476b1fa07
14 changed files with 5 additions and 60 deletions

View File

@@ -73,10 +73,6 @@ func (t *tun) Read() ([][]byte, error) {
return t.batchRet[:], nil
}
func (t *tun) WriteFromSelf(p []byte) (int, error) {
return t.Write(p)
}
var deviceNameRE = regexp.MustCompile(`^tun[0-9]+$`)
func newTunFromFd(_ *config.C, _ *slog.Logger, _ int, _ []netip.Prefix) (*tun, error) {