mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
IPv4 CKR support in router
This commit is contained in:
parent
424faa1c51
commit
0240375417
3 changed files with 62 additions and 24 deletions
|
@ -105,7 +105,7 @@ func (tun *tunDevice) read() error {
|
|||
n != 256*int(buf[o+4])+int(buf[o+5])+tun_IPv6_HEADER_LENGTH+o {
|
||||
// Either not an IPv6 packet or not the complete packet for some reason
|
||||
//panic("Should not happen in testing")
|
||||
continue
|
||||
//continue
|
||||
}
|
||||
if buf[o+6] == 58 {
|
||||
// Found an ICMPv6 packet
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue