gamelinux / passivedns

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

Resolve deprecation warning for `pcap_lookupdev` used to find default interface #128

Closed ckuethe closed 3 months ago

ckuethe commented 1 year ago

Got an ugly warning while building on ubuntu 22.04 (libpcap0.8-dev:amd64 1.10.1-4build1) about pcap_lookupdev being deprecated.

Tested on