aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-jmirror.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-10-31 13:06:15 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-10-31 13:06:15 +0000
commit81d90598d813e69bf48251afce63fa394aa9fb4c (patch)
tree16e11ac2c0b0112e9cde1296218787b2ddf88e4a /epan/dissectors/packet-jmirror.c
parentcfb3172f33906b3683d63971c3ff7f9f6c3b7504 (diff)
Remove incorrect comment which refered to a non existant header file
svn path=/trunk/; revision=30781
Diffstat (limited to 'epan/dissectors/packet-jmirror.c')
-rw-r--r--epan/dissectors/packet-jmirror.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/epan/dissectors/packet-jmirror.c b/epan/dissectors/packet-jmirror.c
index e4374d5092..0153d14122 100644
--- a/epan/dissectors/packet-jmirror.c
+++ b/epan/dissectors/packet-jmirror.c
@@ -51,7 +51,6 @@ static dissector_handle_t ipv4_handle;
static dissector_handle_t ipv6_handle;
static dissector_handle_t hdlc_handle;
-/* Value to hold the UDP port number - default 30030 defined in header file */
static guint global_jmirror_udp_port = DEF_JMIRROR_UDP_PORT;
/* Forward declaration */
@@ -61,8 +60,8 @@ void proto_reg_handoff_jmirror(void);
static dissector_handle_t
get_heuristic_handle(tvbuff_t *tvb)
{
- int offset = MIRROR_HDR_SZ; /* Point past the 8 byte mirror header */
- int byte0, byte1, byte2, byte3;
+ int offset = MIRROR_HDR_SZ; /* Point past the 8 byte mirror header */
+ int byte0, byte1, byte2, byte3;
/* The follow section is designed to determine the nature of the mirrored packet.
*
@@ -101,12 +100,12 @@ get_heuristic_handle(tvbuff_t *tvb)
static int
dissect_jmirror(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- int offset = 0;
+ int offset = 0;
dissector_handle_t dissector_handle;
- unsigned int midval, sidval;
- proto_item *ti = NULL;
- proto_tree *jmirror_tree = NULL;
- tvbuff_t *next_tvb = NULL;
+ unsigned int midval, sidval;
+ proto_item *ti = NULL;
+ proto_tree *jmirror_tree = NULL;
+ tvbuff_t *next_tvb = NULL;
if ( !( dissector_handle = get_heuristic_handle(tvb) ) )
return 0;