aboutsummaryrefslogtreecommitdiff
path: root/pcap-airpcap.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2020-05-29 15:37:22 -0700
committerGuy Harris <gharris@sonic.net>2020-05-29 15:37:22 -0700
commit266ecefc4616b06b091e942b2012353eab349beb (patch)
tree0f98757faeac37b82d6ab0ebac90acbf8633dd1e /pcap-airpcap.c
parent36eb996634a47c4b0aac6b2b2dcc69e0392bdb9f (diff)
airpcap: remove some code copied-and-pasted from another file.
Some Sun code ay impose a minimum snapshot length of 96, but AirPcap doesn't.
Diffstat (limited to 'pcap-airpcap.c')
-rw-r--r--pcap-airpcap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/pcap-airpcap.c b/pcap-airpcap.c
index b2161dbc..6a9d5d6a 100644
--- a/pcap-airpcap.c
+++ b/pcap-airpcap.c
@@ -772,12 +772,6 @@ airpcap_activate(pcap_t *p)
if (p->snapshot <= 0 || p->snapshot > MAXIMUM_SNAPLEN)
p->snapshot = MAXIMUM_SNAPLEN;
- if (p->snapshot < 96)
- /*
- * NIT requires a snapshot length of at least 96.
- */
- p->snapshot = 96;
-
/*
* If the buffer size wasn't explicitly set, default to
* AIRPCAP_DEFAULT_KERNEL_BUFFER_SIZE.