aboutgitcodebugslistschat
path: root/pcap.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-01-25 19:03:44 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-01-26 07:57:09 +0100
commitb93c2c1713edf28815bb4057d04ff2dfb892c307 (patch)
tree4fc8639c6508f17428e2a057daf30bc7c1f28215 /pcap.c
parentf6d9787d30c6a58ea6c4c1612b89f4bd5dd8cb68 (diff)
downloadpasst-b93c2c1713edf28815bb4057d04ff2dfb892c307.tar
passt-b93c2c1713edf28815bb4057d04ff2dfb892c307.tar.gz
passt-b93c2c1713edf28815bb4057d04ff2dfb892c307.tar.bz2
passt-b93c2c1713edf28815bb4057d04ff2dfb892c307.tar.lz
passt-b93c2c1713edf28815bb4057d04ff2dfb892c307.tar.xz
passt-b93c2c1713edf28815bb4057d04ff2dfb892c307.tar.zst
passt-b93c2c1713edf28815bb4057d04ff2dfb892c307.zip
passt: Drop <linux/ipv6.h> include, carry own ipv6hdr and opt_hdr definitions
This is the only remaining Linux-specific include -- drop it to avoid clang-tidy warnings and to make code more portable. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'pcap.c')
-rw-r--r--pcap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pcap.c b/pcap.c
index 0c61cd8..e00fc45 100644
--- a/pcap.c
+++ b/pcap.c
@@ -28,8 +28,6 @@
#include <unistd.h>
#include <net/if.h>
-#include <linux/ipv6.h>
-
#include "util.h"
#include "passt.h"