gamelinux / passivedns

A network sniffer that logs all DNS server replies for use in a passive DNS setup
http://gamelinux.org/
1.67k stars 372 forks source link

update passet->af in update_pdns_record_asset/get_pdns_record #72

Closed jjh74 closed 8 years ago

jjh74 commented 8 years ago

Without this patch when running passivedns with -C0 -P0 passivedns will sometimes (incorrectly) print ipv6 address as ipv4 address (and vice versa).

thus commented 8 years ago

Thanks :)