mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-22 01:17:04 +00:00
Merge pull request #88 from os12/raw-ip
base: add support for "raw ip" captures
This commit is contained in:
commit
52454c7f4c
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