From: Guy Harris Date: Wed, 6 Nov 2019 03:19:12 +0000 (-0800) Subject: Squelch another warning. X-Git-Tag: libpcap-1.10-bp~340 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/05a230e94927df195ce9a05fe97e37f66cfbff0d Squelch another warning. --- diff --git a/pcap-npf.c b/pcap-npf.c index 38fac097..11fbaee1 100644 --- a/pcap-npf.c +++ b/pcap-npf.c @@ -1706,6 +1706,12 @@ get_if_flags(const char *name, bpf_u_int32 *flags, char *errbuf) */ *flags |= PCAP_IF_CONNECTION_STATUS_DISCONNECTED; break; + + default: + /* + * It's unknown whether it's connected or not. + */ + break; } } #else