Ettercap/ettercap — pull request #551 by gvanem (2014-05-07 19:51:10+00:00)
Title: Update dns_spoof.c

Improved the logic around `parse_line()` and parsing of SRV records. The returned IP4/6-address for SRV records is ambiguous for SRV records since it can AFAIC be either IPv4 or IPv6. `is_ip6` is set accordingly. Also check for lines with only newlines. `ip_tmp[]` need not be static in `parse_line()`. Lots of white-space changes.