~ubuntu-branches/ubuntu/gutsy/wireshark/gutsy-security

« back to all changes in this revision

Viewing changes to epan/dissectors/packet-skinny.c

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2007-04-01 08:58:40 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070401085840-or3qhrpv8alt1bwg
Tags: 0.99.5-1
* New upstream release.
* debian/patches/09_idl2wrs.dpatch: updated to patch idl2wrs.sh.in.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 * This file is based on packet-aim.c, which is
12
12
 * Copyright 2000, Ralf Hoelzer <ralf@well.com>
13
13
 *
14
 
 * $Id: packet-skinny.c 18781 2006-07-22 03:06:32Z sahlberg $
 
14
 * $Id: packet-skinny.c 19988 2006-11-26 13:36:03Z morriss $
15
15
 *
16
16
 * Wireshark - Network traffic analyzer
17
17
 * By Gerald Combs <gerald@wireshark.org>
1170
1170
static dissector_handle_t rtp_handle=NULL;
1171
1171
 
1172
1172
/* Get the length of a single SCCP PDU */
1173
 
static guint get_skinny_pdu_len(tvbuff_t *tvb, int offset)
 
1173
static guint get_skinny_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
1174
1174
{
1175
1175
  guint32 hdr_data_length;
1176
1176
 
2567
2567
 
2568
2568
  if (hdr_data_length < 4 || hdr_reserved != 0) {
2569
2569
    /* Not an SKINNY packet, just happened to use the same port */
2570
 
    call_dissector(data_handle,tvb, pinfo, tree);
2571
2570
    return FALSE;
2572
2571
  }
2573
2572