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
|
||||
case FilteringAddressPortDependent:
|
||||
res.Type = NATPortRestricted
|
||||
default:
|
||||
res.Type = NATUnknown
|
||||
}
|
||||
} else {
|
||||
res.Type = NATSymmetric
|
||||
|
||||
Reference in New Issue
Block a user