aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tr.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-04-14 23:04:04 +0000
committerGuy Harris <guy@alum.mit.edu>2002-04-14 23:04:04 +0000
commitdb319329411e4b1db7e19e8cc5eb518525d107ad (patch)
treedddb463b1b5567290a52f49b6534d5a6f4015fde /packet-tr.c
parent46a89d60f56997c8b859d67cd7f6b4442211f871 (diff)
From Joerg Mayer:
Declares some variables static. Creates a new include file packet-rsvp.h, and make use of it (change some extern decls to #inlcude). Move the file packet-pgm.h into packet-pgm.c as it is not used by anything outside packet-pgm.c. svn path=/trunk/; revision=5162
Diffstat (limited to 'packet-tr.c')
-rw-r--r--packet-tr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-tr.c b/packet-tr.c
index 465d653585..8e2f39fdc2 100644
--- a/packet-tr.c
+++ b/packet-tr.c
@@ -2,7 +2,7 @@
* Routines for Token-Ring packet disassembly
* Gilbert Ramirez <gram@alumni.rice.edu>
*
- * $Id: packet-tr.c,v 1.69 2002/01/21 07:36:44 guy Exp $
+ * $Id: packet-tr.c,v 1.70 2002/04/14 23:04:04 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -139,6 +139,7 @@ static dissector_handle_t data_handle;
* (And this real frame x bytes in looks like a proper TR frame that goes on the wire
* with none of the Linux idiosyncrasies).
*/
+static
int check_for_old_linux_tvb(tvbuff_t *tvb)
{
const guint8 *data;
@@ -162,6 +163,7 @@ int check_for_old_linux_tvb(tvbuff_t *tvb)
return 0;
}
+static
int check_for_old_linux(const u_char * pd)
{
int x;