]> The Tcpdump Group git mirrors - tcpdump/commitdiff
bugfix: print 7 (node-id) bytes rather than 6 (system-id) for CSNPs in non verbose...
authorhannes <hannes>
Thu, 9 Sep 2004 07:17:42 +0000 (07:17 +0000)
committerhannes <hannes>
Thu, 9 Sep 2004 07:17:42 +0000 (07:17 +0000)
print-isoclns.c

index 2b6166d115f285d28ea4ae9aeda2a19b72648f73..c001154783a95bd814a8058e6a4f4cc0987a7470 100644 (file)
@@ -26,7 +26,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.106.2.5 2004-03-24 01:45:26 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.106.2.6 2004-09-09 07:17:42 hannes Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -1250,11 +1250,11 @@ static int isis_print (const u_int8_t *p, u_int length)
            break;
        case L1_CSNP:
        case L2_CSNP:
-           printf(", src-id %s", isis_print_id(header_csnp->source_id,SYSTEM_ID_LEN));
+           printf(", src-id %s", isis_print_id(header_csnp->source_id,NODE_ID_LEN));
            break;
        case L1_PSNP:
        case L2_PSNP:
-           printf(", src-id %s", isis_print_id(header_psnp->source_id,SYSTEM_ID_LEN));
+           printf(", src-id %s", isis_print_id(header_psnp->source_id,NODE_ID_LEN));
            break;
 
        }