]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Add a comment asking about the address and mask length fields in
authorguy <guy>
Wed, 20 Apr 2005 22:05:08 +0000 (22:05 +0000)
committerguy <guy>
Wed, 20 Apr 2005 22:05:08 +0000 (22:05 +0000)
join/prune requests.

print-pim.c

index 18c6da4df5307cc00573843d3afccaff72bfef1c..f87eb80a8eed6fde61b1a67b9472b06802a1aec9 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-pim.c,v 1.45 2005-04-06 21:32:42 mcr Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-pim.c,v 1.46 2005-04-20 22:05:08 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -161,6 +161,10 @@ pimv1_join_prune_print(register const u_char *bp, register u_int len)
        bp += 4;
        len -= 4;
        while (ngroups--) {
+               /*
+                * XXX - does the address have length "addrlen" and the
+                * mask length "maddrlen"?
+                */
                TCHECK2(bp[0], 4);
                (void)printf("\n\tGroup: %s", ipaddr_string(bp));
                TCHECK2(bp[4], 4);