non-blocking io for linux

This commit is contained in:
Nate Brown
2025-04-02 22:57:37 -05:00
parent c3ec96d9c2
commit f2b3ef4b3e
5 changed files with 196 additions and 177 deletions

View File

@@ -29,7 +29,7 @@ func (f *Interface) readOutsidePackets(ip netip.AddrPort, via *ViaSender, out []
return
}
//l.Error("in packet ", header, packet[HeaderLen:])
//f.l.Error("in packet ", h)
if ip.IsValid() {
if f.myVpnNetworksTable.Contains(ip.Addr()) {
if f.l.Level >= logrus.DebugLevel {