diff --git a/webroot/js/web-utils.js b/webroot/js/web-utils.js index a76d375dd..61c526c95 100644 --- a/webroot/js/web-utils.js +++ b/webroot/js/web-utils.js @@ -2730,6 +2730,9 @@ function getIPforHostName(name,dataSourceName) { function getLabelValueForIP(ip) { var lbl = 'IPv4'; var value = ip; + if(ip == '') { + return ''; + } if(ip != null && isIPv6(ip)) { lbl = 'IPv6'; value = new v6.Address(ip).correctForm();