4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-15 23:46:05 +00:00

Fix typos

This commit is contained in:
Dimitris Apostolou
2019-11-29 11:45:02 +02:00
committed by GitHub
parent 9967541627
commit 73f50af3b7
19 changed files with 33 additions and 33 deletions

View File

@ -63,7 +63,7 @@ func (s *tunConn) _read(bs []byte) (err error) {
default:
isCGA = false
}
// Check destiantion addresses
// Check destination addresses
switch {
case ipv6 && bs[24] == 0x02 && bytes.Equal(s.tun.addr[:16], bs[24:40]): // destination
case ipv6 && bs[24] == 0x03 && bytes.Equal(s.tun.subnet[:8], bs[24:32]): // destination