Display when a host or a domain is NX

Fix #1
travis
Raphaël Vinot 2015-04-30 10:33:08 +02:00
parent 8ec4b0b4e5
commit 5656240673
1 changed files with 6 additions and 0 deletions

View File

@ -113,6 +113,12 @@
globFct.poller(jobID, function(data){
scope.ipv4 = data[0];
scope.ipv6 = data[1];
if (scope.ipv4.length === 0){
scope.ipv4 = ['Unable to resolve in IPv4'];
}
if (scope.ipv6.length === 0){
scope.ipv6 = ['Unable to resolve in IPv6'];
}
});
};
globFct.query('resolve', {"url": scope.url}, get_ips);