(ip)
| 46 | |
| 47 | |
| 48 | def _resolve_hostname(ip): |
| 49 | try: |
| 50 | (hostname, _, _) = socket.gethostbyaddr(ip) |
| 51 | return hostname |
| 52 | except: |
| 53 | LOGGER.warning('Could not get hostname for ' + ip) |
| 54 | return None |
| 55 | |
| 56 | |
| 57 | def get_audit_name(all_audit_names): |
no outgoing calls
no test coverage detected