diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2024-02-15 15:39:53 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2024-02-15 15:39:53 +0100 |
commit | 66840b94226879fd8965a8cde4bbafb57c2101ba (patch) | |
tree | a4c13d04f198c5fd0d98906a2b72767fa4783b07 | |
parent | 0111afd4baa751833746e662a6f1976717d4316b (diff) |
treat ARPHRD_TUNNEL6 tunnels as valid
-rw-r--r-- | pcap-linux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pcap-linux.c b/pcap-linux.c index f8f70332..e5dbee27 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -2087,6 +2087,7 @@ static int map_arphrd_to_dlt(pcap_t *handle, int arptype, /* Not sure if this is correct for all tunnels, but it * works for CIPE */ case ARPHRD_TUNNEL: + case ARPHRD_TUNNEL6: #ifndef ARPHRD_SIT #define ARPHRD_SIT 776 /* From Linux 2.2.13 */ #endif |