fix pasv_url resolverFunction docs (#297)
This commit is contained in:
@@ -97,7 +97,7 @@ const resolverFunction = (address) => {
|
|||||||
// }
|
// }
|
||||||
const networks = getNetworks();
|
const networks = getNetworks();
|
||||||
for (const network in networks) {
|
for (const network in networks) {
|
||||||
if (new Netmask(network).contains(ip)) {
|
if (new Netmask(network).contains(address)) {
|
||||||
return networks[network];
|
return networks[network];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user