mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-02 10:01:57 +00:00
go.mod: bump bart
Updates #bart Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
@@ -626,7 +626,7 @@ func (pc *peerConfigTable) mapDstIP(src, oldDst netip.Addr) netip.Addr {
|
||||
// The 'dst' of the packet is the address for this local node. It could
|
||||
// be a masquerade address that we told other nodes to use, or one of
|
||||
// our local node's Addresses.
|
||||
c, ok := pc.byIP.Get(src)
|
||||
c, ok := pc.byIP.Lookup(src)
|
||||
if !ok {
|
||||
return oldDst
|
||||
}
|
||||
@@ -657,7 +657,7 @@ func (pc *peerConfigTable) selectSrcIP(oldSrc, dst netip.Addr) netip.Addr {
|
||||
}
|
||||
|
||||
// Look up the configuration for the destination
|
||||
c, ok := pc.byIP.Get(dst)
|
||||
c, ok := pc.byIP.Lookup(dst)
|
||||
if !ok {
|
||||
return oldSrc
|
||||
}
|
||||
@@ -767,7 +767,7 @@ func (pc *peerConfigTable) inboundPacketIsJailed(p *packet.Parsed) bool {
|
||||
if pc == nil {
|
||||
return false
|
||||
}
|
||||
c, ok := pc.byIP.Get(p.Src.Addr())
|
||||
c, ok := pc.byIP.Lookup(p.Src.Addr())
|
||||
if !ok {
|
||||
return false
|
||||
}
|
||||
@@ -778,7 +778,7 @@ func (pc *peerConfigTable) outboundPacketIsJailed(p *packet.Parsed) bool {
|
||||
if pc == nil {
|
||||
return false
|
||||
}
|
||||
c, ok := pc.byIP.Get(p.Dst.Addr())
|
||||
c, ok := pc.byIP.Lookup(p.Dst.Addr())
|
||||
if !ok {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user