diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-06-20 20:17:40 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-06-20 20:17:40 +0000 |
commit | 6ffbcc77aa1f6e8989abd7573b36d79f90d7ffca (patch) | |
tree | ed0a084d6e677c374dceb11e3ec2bd9436e9b3d3 /packet-ucp.c | |
parent | 6515ac849e7305390dd68600f4cb84faedf79208 (diff) | |
download | wireshark-6ffbcc77aa1f6e8989abd7573b36d79f90d7ffca.tar.gz wireshark-6ffbcc77aa1f6e8989abd7573b36d79f90d7ffca.tar.bz2 wireshark-6ffbcc77aa1f6e8989abd7573b36d79f90d7ffca.zip |
From Tom Uijldert:
- Remove compiler warnings
- Support operation '0'
svn path=/trunk/; revision=5715
Diffstat (limited to 'packet-ucp.c')
-rw-r--r-- | packet-ucp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-ucp.c b/packet-ucp.c index 30390af2b4..c57647ddef 100644 --- a/packet-ucp.c +++ b/packet-ucp.c @@ -2,7 +2,7 @@ * Routines for Universal Computer Protocol dissection * Copyright 2001, Tom Uijldert <tom.uijldert@cmg.nl> * - * $Id: packet-ucp.c,v 1.15 2002/04/11 09:10:47 guy Exp $ + * $Id: packet-ucp.c,v 1.16 2002/06/20 20:17:40 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -798,9 +798,7 @@ ucp_handle_data(proto_tree *tree, tvbuff_t *tvb, int field, int *offset) static void ucp_handle_mt(proto_tree *tree, tvbuff_t *tvb, int *offset) { - char strval[BUFSIZ]; guint intval; - int idx; intval = ucp_handle_byte(tree, tvb, hf_ucp_parm_MT, offset); switch (intval) { @@ -1660,6 +1658,9 @@ dissect_ucp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) sub_tree = proto_item_add_subtree(sub_ti, ett_sub); switch (OT) { + case 0: + O_R == 'O' ? add_00O(sub_tree,tmp_tvb) : add_00R(sub_tree,tmp_tvb); + break; case 1: O_R == 'O' ? add_01O(sub_tree,tmp_tvb) : add_01R(sub_tree,tmp_tvb); break; |