]> The Tcpdump Group git mirrors - tcpdump/commitdiff
We've already subtracted the fixed 36 bytes from subl, no need to do it
authorguy <guy>
Thu, 16 Jun 2005 01:07:28 +0000 (01:07 +0000)
committerguy <guy>
Thu, 16 Jun 2005 01:07:28 +0000 (01:07 +0000)
again.

print-isoclns.c

index a2d0912fe10606ff91fbae3fab7bb761bd1c9ea6..da7abfe10efa2318758d5313a8954fbc003e6437 100644 (file)
@@ -26,7 +26,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.143 2005-06-13 12:56:43 hannes Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.144 2005-06-16 01:07:28 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -1501,7 +1501,7 @@ isis_print_is_reach_subtlv (const u_int8_t *tptr,int subt,int subl,const char *i
                  not specified so just lets hexdump what is left */
               if(subl>0){
                 if(!print_unknown_data(tptr,"\n\t\t    ",
-                                      subl-36))
+                                      subl))
                     return(0);
               }
             }