mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-21 17:07:04 +00:00
base: add support for "raw ip" captures
- there is no need to deal with L2 as it's not even there
This commit is contained in:
parent
6c1aa99da8
commit
dd20142c87
1 changed files with 2 additions and 0 deletions
|
@ -205,6 +205,8 @@ void pcap_cb(u_char *ptr, const struct pcap_pkthdr *hdr, const u_char *data) {
|
||||||
|
|
||||||
switch(pcap_if_type) {
|
switch(pcap_if_type) {
|
||||||
case DLT_RAW:
|
case DLT_RAW:
|
||||||
|
type = ETHERTYPE_IP;
|
||||||
|
break;
|
||||||
#ifdef DLT_LOOP
|
#ifdef DLT_LOOP
|
||||||
case DLT_LOOP:
|
case DLT_LOOP:
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue