diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-02-09 00:11:44 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-02-09 00:11:44 +0000 |
commit | 88d76d35cc4c6a5b7dff069be5ed6979ea4575d5 (patch) | |
tree | 1c461645c5a89341a8ce1a98495f73183819baee /packet-wccp.c | |
parent | c0fcf8370f64ddc5eeeb2235fc3ec08181696490 (diff) |
Change to include Service ID field in dissection of Service Info
component of WCCP 2 messages even if the service type is
WCCP2_SERVICE_DYNAMIC, from Simharajan Srishylam.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3005 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-wccp.c')
-rw-r--r-- | packet-wccp.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packet-wccp.c b/packet-wccp.c index 98fca3ba76..e3f1de7a17 100644 --- a/packet-wccp.c +++ b/packet-wccp.c @@ -2,7 +2,7 @@ * Routines for Web Cache Coordination Protocol dissection * Jerry Talkington <jerryt@netapp.com> * - * $Id: packet-wccp.c,v 1.17 2001/01/22 08:03:46 guy Exp $ + * $Id: packet-wccp.c,v 1.18 2001/02/09 00:11:42 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -591,12 +591,18 @@ dissect_wccp2_service_info(tvbuff_t *tvb, int offset, int length, "Service Type: Well-known service"); proto_tree_add_text(info_tree, tvb, offset+1, 1, "Service ID: %s", - val_to_str(tvb_get_guint8(tvb, offset+1), service_id_vals, "Unknown (0x%02X)")); + val_to_str(tvb_get_guint8(tvb, offset+1), service_id_vals, + "Unknown (0x%02X)")); + break; case WCCP2_SERVICE_DYNAMIC: proto_tree_add_text(info_tree, tvb, offset, 1, "Service Type: Dynamic service"); + proto_tree_add_text(info_tree, tvb, offset+1, 1, + "Service ID: %s", + val_to_str(tvb_get_guint8(tvb, offset+1), service_id_vals, + "Unknown (0x%02X)")); proto_tree_add_text(info_tree, tvb, offset+2, 1, "Priority: %u", tvb_get_guint8(tvb, offset+2)); /* |