wgengine/magicsock: fix typo in comment

This commit is contained in:
Brad Fitzpatrick 2020-07-18 13:57:26 -07:00
parent bf195cd3d8
commit c06d2a8513

View File

@ -1561,7 +1561,7 @@ func (c *Conn) handleDiscoMessage(msg []byte, src netaddr.IPPort) bool {
de.handlePongConnLocked(dm, src) de.handlePongConnLocked(dm, src)
case disco.CallMeMaybe: case disco.CallMeMaybe:
if src.IP != derpMagicIPAddr { if src.IP != derpMagicIPAddr {
// CallpMeMaybe messages should only come via DERP. // CallMeMaybe messages should only come via DERP.
c.logf("[unexpected] CallMeMaybe packets should only come via DERP") c.logf("[unexpected] CallMeMaybe packets should only come via DERP")
return true return true
} }