mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Note that isRestrictedFiltering is no longer used
This commit is contained in:
parent
00f8f85f41
commit
ece43cbfcf
1 changed files with 3 additions and 0 deletions
|
@ -110,6 +110,9 @@ func isRestrictedMapping(addrStr string) (bool, error) {
|
|||
// Performs two tests from RFC 5780 to determine whether the filtering type
|
||||
// of the client's NAT is port-dependent.
|
||||
// Returns true if the filtering is port-dependent and false otherwise
|
||||
// Note: This function is no longer used because a client's NAT type is
|
||||
// determined only by their mapping type, but the functionality might
|
||||
// be useful in the future and remains here.
|
||||
func isRestrictedFiltering(addrStr string) (bool, error) {
|
||||
var xorAddr stun.XORMappedAddress
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue