ain_id=null)">${value.address}</span>`
								}
								else{
									ip_badge += `<span class='m-1 badge badge-soft-primary badge-link' onclick="get_ip_details('${value.address}', scan_id=null, domain_id=null)">${value.address}</span>`
								}
							});
							return ip_badge;
						}
						return "";
					},
					"targets": 6,
				},
				// open ports
				{
					"render": function ( data, type, row ) {
						port_badge = ''
						if (data){
							for (ip in data){
								ports = d