aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rsvp.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet-rsvp.c')
-rw-r--r--packet-rsvp.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/packet-rsvp.c b/packet-rsvp.c
index c69befea3b..41dab852d4 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.19 2000/04/07 19:10:51 guy Exp $
+ * $Id: packet-rsvp.c,v 1.20 2000/04/16 22:46:22 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -74,7 +74,6 @@
#include "packet.h"
#include "packet-ip.h"
#include "packet-ipv6.h"
-#include "packet-rsvp.h"
#include "ieee-float.h"
static int proto_rsvp = -1;
@@ -827,7 +826,7 @@ static inline int rsvp_class_to_filter_num(int classnum)
}
}
-void
+static void
dissect_rsvp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
{
proto_tree *rsvp_tree = NULL, *ti, *ti2;
@@ -2028,3 +2027,9 @@ proto_register_rsvp(void)
proto_register_field_array(proto_rsvp, rsvpf_info, array_length(rsvpf_info));
proto_register_subtree_array(ett, array_length(ett));
}
+
+void
+proto_reg_handoff_rsvp(void)
+{
+ dissector_add("ip.proto", IP_PROTO_RSVP, dissect_rsvp);
+}