From: hannes Date: Wed, 5 Mar 2003 11:28:21 +0000 (+0000) Subject: bugfix: wrong starting pointer for Session name in RSVP_OBJ_SESSION_ATTRIBUTE X-Git-Tag: tcpdump-3.8-bp~194 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/5379087cc4446c23f29a2c6740811152463ed78a bugfix: wrong starting pointer for Session name in RSVP_OBJ_SESSION_ATTRIBUTE --- diff --git a/print-rsvp.c b/print-rsvp.c index 800473cd..2e0c27cf 100644 --- a/print-rsvp.c +++ b/print-rsvp.c @@ -15,7 +15,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-rsvp.c,v 1.15 2003-03-05 11:13:34 hannes Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-rsvp.c,v 1.16 2003-03-05 11:28:21 hannes Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -764,7 +764,7 @@ rsvp_print(register const u_char *pptr, register u_int len) { case RSVP_OBJ_SESSION_ATTRIBUTE: switch(rsvp_obj_ctype) { case RSVP_CTYPE_TUNNEL_IPV4: - printf("\n\t Session Name: %s",(obj_tptr+3)); + printf("\n\t Session Name: %s",(obj_tptr+4)); printf("\n\t Setup Priority: %u, Holding Priority: %u, Flags: [%s]", (int)*obj_tptr, (int)*(obj_tptr+1),