tstest/natlab: add comments to conns4/conns6.

Signed-off-by: David Anderson <danderson@tailscale.com>
reviewable/pr519/r2
David Anderson 4 years ago
parent c53b154171
commit 80a14c49c6

@ -207,8 +207,8 @@ type Machine struct {
interfaces []*Interface interfaces []*Interface
routes []routeEntry // sorted by longest prefix to shortest routes []routeEntry // sorted by longest prefix to shortest
conns4 map[netaddr.IPPort]*conn conns4 map[netaddr.IPPort]*conn // conns that want IPv4 packets
conns6 map[netaddr.IPPort]*conn conns6 map[netaddr.IPPort]*conn // conns that want IPv6 packets
} }
func (m *Machine) deliverIncomingPacket(p []byte, dst, src netaddr.IPPort) { func (m *Machine) deliverIncomingPacket(p []byte, dst, src netaddr.IPPort) {

Loading…
Cancel
Save