Skip to content
Snippets Groups Projects
Commit 36aa23a5 authored by Julien Schmidt's avatar Julien Schmidt
Browse files

show log when NAT test finds an external IP

parent ecedaef1
No related branches found
No related tags found
No related merge requests found
......@@ -210,6 +210,7 @@ function checkNAT() {
log("Detected External IP: " + candidate.address);
if (candidate.address.indexOf('141.84.69.') < 0 && candidate.address.indexOf('129.187.166.15') < 0) {
log("Detected External IP is not a SSN IP.");
showUnknown();
reject('LOCALIP');
} else {
resolve(candidate.address+':'+candidate.port);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment