mirror of
https://github.com/xiaoqidun/probe.git
synced 2026-09-12 06:10:02 +08:00
1 parent
6dfd0dffe0
commit
106bced01b
1 file changed
+2
@@ -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