-
- Downloads
Enable host-to-IP resolving in parse_host_mac_ip_list().
This adds functionality to the parse_host_mac_ip_list() function making it able to resolve hostnames into numeric IP addresses. Users can now have lines looking like www 01:23:45:67:89:ab www.example.com and the "www.example.com" name will be resolved into IP address(es) that are added to the 'ipv4' and 'ipv6' elements as appropriate. This is however not the default behaviour. To enable it, users must specify the flag 'resolve' in the new (optional) ``flags'' parameter to the function.
Please register or sign in to comment