aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rsvp.c
diff options
context:
space:
mode:
authorLaurent Deniel <laurent.deniel@free.fr>2003-04-22 20:40:32 +0000
committerLaurent Deniel <laurent.deniel@free.fr>2003-04-22 20:40:32 +0000
commit980b84d7b4160cca1460321e0361c0ea05bec800 (patch)
treea4536612ce5db368b177cf8a3b2790e244f25f1f /packet-rsvp.c
parentba95445cd127010b76de1e478653ea0c5592caba (diff)
Remove undefined code.
svn path=/trunk/; revision=7536
Diffstat (limited to 'packet-rsvp.c')
-rw-r--r--packet-rsvp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-rsvp.c b/packet-rsvp.c
index 3deb7ebf8e..e67c80a10a 100644
--- a/packet-rsvp.c
+++ b/packet-rsvp.c
@@ -3,7 +3,7 @@
*
* (c) Copyright Ashok Narayanan <ashokn@cisco.com>
*
- * $Id: packet-rsvp.c,v 1.81 2003/04/22 05:35:54 guy Exp $
+ * $Id: packet-rsvp.c,v 1.82 2003/04/22 20:40:32 deniel Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1488,7 +1488,7 @@ dissect_rsvp_error (proto_tree *ti, tvbuff_t *tvb,
error_code = tvb_get_guint8(tvb, offset2+17);
proto_tree_add_text(rsvp_object_tree, tvb, offset2+17, 1,
"Error code: %u - %s",
- error_code = tvb_get_guint8(tvb, offset2+17),
+ error_code,
val_to_str(error_code, rsvp_error_codes, "Unknown"));
error_val = dissect_rsvp_error_value(ti, tvb, offset2+18, error_code);
break;