aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-01-13 03:17:15 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-01-13 03:17:15 +0000
commit73b6dadd24e9a6de93c31cb2ecab8774fe1e01d6 (patch)
tree6931cdff34869b898a262cae81d2e34c5c3dd277 /capture.c
parent445b21759e969e86522e9d26018ada3b0ef19daf (diff)
Actually call capture_sll() from the capture loop.
svn path=/trunk/; revision=2889
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/capture.c b/capture.c
index 9c3cf55660..dfbd87dc71 100644
--- a/capture.c
+++ b/capture.c
@@ -1,7 +1,7 @@
/* capture.c
* Routines for packet capture windows
*
- * $Id: capture.c,v 1.135 2001/01/09 00:53:26 guy Exp $
+ * $Id: capture.c,v 1.136 2001/01/13 03:17:15 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -157,6 +157,7 @@
#include "packet-null.h"
#include "packet-ppp.h"
#include "packet-raw.h"
+#include "packet-sll.h"
#include "packet-tr.h"
#include "packet-ieee80211.h"
@@ -1702,6 +1703,9 @@ capture_pcap_cb(u_char *user, const struct pcap_pkthdr *phdr,
case WTAP_ENCAP_RAW_IP:
capture_raw(pd, &ld->counts);
break;
+ case WTAP_ENCAP_SLL:
+ capture_sll(pd, &ld->counts);
+ break;
case WTAP_ENCAP_LINUX_ATM_CLIP:
capture_clip(pd, &ld->counts);
break;