Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198271 - Patch to net-analyzer/ssldump for support DLT_LINUX_SLL
Summary: Patch to net-analyzer/ssldump for support DLT_LINUX_SLL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-06 14:48 UTC by Paul
Modified: 2008-09-16 14:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
This patch add support for DLT_LINUX_SLL (linux_sll_support_patch.diff,328 bytes, patch)
2007-11-06 14:50 UTC, Paul
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2007-11-06 14:48:52 UTC
This patch add support for DLT_LINUX_SLL link layer type in net-analyzer/ssldump:

--- base/pcap-snoop.c   2007-11-06 14:22:53.000000000 +0100
+++ base/pcap-snoop_new.c       2007-11-06 14:24:05.000000000 +0100
@@ -157,6 +157,10 @@
           return;

         break;
+      case DLT_LINUX_SLL:
+        data+=16;
+        len-=16;
+        break;
     }
     network_process_packet(n,&hdr->ts,data,len);
   }
Comment 1 Paul 2007-11-06 14:50:43 UTC
Created attachment 135333 [details, diff]
This patch add support for DLT_LINUX_SLL
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-09-16 14:58:55 UTC
Thank you Paul. Nice patch. Added in ssldump-0.9-r1.