mirror of
https://github.com/xiaoqidun/probe.git
synced 2026-01-29 04:58:46 +08:00
@@ -311,6 +311,8 @@ func DetectNAT(conn net.PacketConn, primarySTUN, secondarySTUN, network string,
|
|||||||
res.Type = NATRestricted
|
res.Type = NATRestricted
|
||||||
case FilteringAddressPortDependent:
|
case FilteringAddressPortDependent:
|
||||||
res.Type = NATPortRestricted
|
res.Type = NATPortRestricted
|
||||||
|
default:
|
||||||
|
res.Type = NATUnknown
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
res.Type = NATSymmetric
|
res.Type = NATSymmetric
|
||||||
|
|||||||
Reference in New Issue
Block a user