*
* (c) Copyright Ashok Narayanan <ashokn@cisco.com>
*
- * $Id: packet-rsvp.c,v 1.7 1999/08/28 21:59:30 gram Exp $
+ * $Id: packet-rsvp.c,v 1.8 1999/08/29 04:15:30 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
obj->class, object_type);
switch(obj->type) {
case 1: {
- rsvp_session_ipv4 *sess = (rsvp_session_ipv4 *)obj;
+ /*rsvp_session_ipv4 *sess = (rsvp_session_ipv4 *)obj;*/
proto_tree_add_text(rsvp_object_tree, offset+3, 1,
"C-type: 1 - IPv4");
/*
* Routines for SNMP (simple network management protocol)
* D.Jorand (c) 1998
*
- * $Id: packet-snmp.c,v 1.7 1999/08/20 21:26:37 guy Exp $
+ * $Id: packet-snmp.c,v 1.8 1999/08/29 04:15:31 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
/* authenticates message */
length=fd->pkt_len-offset;
header_length=length;
- data = snmp_comstr_parse(&pd[offset], &length, community, &community_length,&version);
+ data = snmp_comstr_parse(&pd[offset], &length, community, &community_length, (int*)&version);
if(NULL == data) {
dissect_snmp_error(pd, offset, fd, tree,
"Couldn't parse authentication");