From bb78da2687309a9c11733b9ad20266ec147cf8cc Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 2 Aug 2012 19:42:59 +0000 Subject: 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 --- epan/dissectors/packet-flexnet.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'epan/dissectors/packet-flexnet.c') 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 #include -#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; - -} -- cgit v1.2.3