]> 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:11:57 +0000 (07:11 +0000)
committerhannes <hannes>
Thu, 9 Sep 2004 07:11:57 +0000 (07:11 +0000)
print-isoclns.c

index c321cb8bbf6bb74af2a10420305c56ba2d2b1617..0e80a99dd1339764f44e8c5d46396738d265d8f8 100644 (file)
@@ -26,7 +26,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.119 2004-03-24 01:40:44 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.120 2004-09-09 07:11:57 hannes Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -1457,11 +1457,11 @@ static int isis_print (const u_int8_t *p, u_int length)
            break;
        case ISIS_PDU_L1_CSNP:
        case ISIS_PDU_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 ISIS_PDU_L1_PSNP:
        case ISIS_PDU_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;
 
        }