aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-flexnet.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-08-02 19:42:59 +0000
committerGuy Harris <guy@alum.mit.edu>2012-08-02 19:42:59 +0000
commitbb78da2687309a9c11733b9ad20266ec147cf8cc (patch)
tree5557f3ad3ac1baf915727ad1de6364e5a9355151 /epan/dissectors/packet-flexnet.c
parent33ec97e5c33bf96fb0c3ad6e32422ee937409589 (diff)
Clean up indentation.
Get rid of capture_XXX routines that just bump ld->other. *Do* bump ld->arp for AX.25 ARP packets. Note that, as there's IP-over-NetROM, capture_netrom() should check for it. svn path=/trunk/; revision=44225
Diffstat (limited to 'epan/dissectors/packet-flexnet.c')
-rw-r--r--epan/dissectors/packet-flexnet.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/epan/dissectors/packet-flexnet.c b/epan/dissectors/packet-flexnet.c
index c5cdeb5ded..5e8d1ccc93 100644
--- a/epan/dissectors/packet-flexnet.c
+++ b/epan/dissectors/packet-flexnet.c
@@ -52,8 +52,6 @@
#include <epan/xdlc.h>
#include <packet-ip.h>
-#include "packet-flexnet.h"
-
#define FLEXNET_ADRLEN 15
#define FLEXNET_CTLLEN 15
#define FLEXNET_HDRLEN (FLEXNET_ADRLEN + FLEXNET_ADRLEN + FLEXNET_CTLLEN)
@@ -171,17 +169,3 @@ proto_reg_handoff_flexnet(void)
inited = TRUE;
}
}
-
-void
-capture_flexnet( const guchar *pd, int offset, int len, packet_counts *ld)
-{
- const guchar *l_pd;
-
- if ( ! BYTES_ARE_IN_FRAME( offset, len, FLEXNET_HDRLEN ) )
- {
- ld->other++;
- return;
- }
- l_pd = pd;
-
-}