mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 06:35:07 +03:00
Fix typos
This commit is contained in:
parent
9967541627
commit
73f50af3b7
19 changed files with 33 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue