* Add an entry for this interface, with no addresses, if it's
* not already in the list.
*/
- if (find_or_add_dev(devlistp, name,
- if_flags_to_pcap_flags(name, ifrflags.ifr_flags), NULL,
+ if (find_or_add_dev(devlistp, name, ifrflags.ifr_flags, NULL,
errbuf) == NULL) {
/*
* Failure.