aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcap-npf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pcap-npf.c b/pcap-npf.c
index 0503b0f3..0b3dfea3 100644
--- a/pcap-npf.c
+++ b/pcap-npf.c
@@ -1591,6 +1591,12 @@ get_if_flags(const char *name, bpf_u_int32 *flags, char *errbuf)
*/
*flags |= PCAP_IF_WIRELESS;
break;
+
+ default:
+ /*
+ * Not wireless.
+ */
+ break;
}
}
#endif