summaryrefslogtreecommitdiff
path: root/pcap_io.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-07-13 17:46:37 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-07-13 17:46:37 +0200
commita05ee98d49977ec112a64daf48cb7b83da21de0e (patch)
tree9e338f4f00df22d520eb634027cd547ff13bee21 /pcap_io.h
parente4465480c2fb8b23a0786e6d395597ea3d0d9888 (diff)
pcap_io: Remove unused parameter sll from pcap_pkthdr_to_tpacket_hdr()
The sll parameter is not used anywhere in the function, so remove it. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'pcap_io.h')
-rw-r--r--pcap_io.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/pcap_io.h b/pcap_io.h
index 31685b4..b53dcb2 100644
--- a/pcap_io.h
+++ b/pcap_io.h
@@ -450,8 +450,7 @@ static inline void tpacket3_hdr_to_pcap_pkthdr(struct tpacket3_hdr *thdr,
static inline void pcap_pkthdr_to_tpacket_hdr(pcap_pkthdr_t *phdr,
enum pcap_type type,
- struct tpacket2_hdr *thdr,
- struct sockaddr_ll *sll)
+ struct tpacket2_hdr *thdr)
{
switch (type) {
case DEFAULT: