wireguard-go-awg2-lx/tun/netstack
Jason A. Donenfeld 6a7c878409
tun/netstack: remove usage of pkt.IsNil()
Since 3c75945fd ("netstack: remove PacketBuffer.IsNil()") this has been
invalid. Follow the replacement pattern of that commit.

The old definition inlined to the same code anyway:

 func (pk *PacketBuffer) IsNil() bool {
 	return pk == nil
 }

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2025-06-23 14:25:57 -06:00
..
examples global: bump copyright notice 2025-06-23 14:20:32 -06:00
tun.go tun/netstack: remove usage of pkt.IsNil() 2025-06-23 14:25:57 -06:00