]> The Tcpdump Group git mirrors - tcpdump/commitdiff
bugfix: wrong starting pointer for Session name in RSVP_OBJ_SESSION_ATTRIBUTE
authorhannes <hannes>
Wed, 5 Mar 2003 11:28:21 +0000 (11:28 +0000)
committerhannes <hannes>
Wed, 5 Mar 2003 11:28:21 +0000 (11:28 +0000)
print-rsvp.c

index 800473cd0c9b15f37897523503bf8fc1092a362c..2e0c27cf0edf83779a0c295612bc207172b21fdc 100644 (file)
@@ -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),