mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Ensure PublicKey option is unused, map old config options
This commit is contained in:
parent
99973b2757
commit
ea15eeee7e
5 changed files with 51 additions and 55 deletions
|
@ -48,7 +48,7 @@ func (tun *TunAdapter) read() {
|
|||
copy(srcSubnet[:], bs[8:])
|
||||
copy(dstSubnet[:], bs[24:])
|
||||
if srcAddr != tun.addr && srcSubnet != tun.subnet {
|
||||
continue // Wrong soruce address
|
||||
continue // Wrong source address
|
||||
}
|
||||
bs = buf[begin-1 : end]
|
||||
bs[0] = typeSessionTraffic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue