mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-10 22:56:35 +00:00
TUN-6737: Fix datagramV2Type should be declared in its own block so it starts at 0
This commit is contained in:
parent
f7a14d9200
commit
faa86ffeca
@ -14,9 +14,12 @@ import (
|
|||||||
type datagramV2Type byte
|
type datagramV2Type byte
|
||||||
|
|
||||||
const (
|
const (
|
||||||
typeIDLen = 1
|
udp datagramV2Type = iota
|
||||||
udp datagramV2Type = iota
|
|
||||||
ip
|
ip
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
typeIDLen = 1
|
||||||
// Same as sessionDemuxChan capacity
|
// Same as sessionDemuxChan capacity
|
||||||
packetChanCapacity = 16
|
packetChanCapacity = 16
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user