aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rsvp.c
diff options
context:
space:
mode:
authordeniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7>2003-04-22 20:40:32 +0000
committerdeniel <deniel@f5534014-38df-0310-8fa8-9805f1628bb7>2003-04-22 20:40:32 +0000
commit135f4bb3ccff1ffb2fb740c3d6df03e29ae2f5ec (patch)
treea4536612ce5db368b177cf8a3b2790e244f25f1f /packet-rsvp.c
parent784ebc7ff39fbced4f4506ba9b9b0adba8c947c5 (diff)
Remove undefined code.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7536 f5534014-38df-0310-8fa8-9805f1628bb7
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;