]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-msdp.c
Correctly check for various values of the ICMP type field.
[tcpdump] / print-msdp.c
index cf21f3f43a6368368d852d65e72d9db6193a4c43..a228ab7cec53711bf8465db08fc68c6a2e171c4d 100644 (file)
@@ -16,8 +16,8 @@
  * FOR A PARTICULAR PURPOSE.
  */
 #ifndef lint
-static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-msdp.c,v 1.4 2002-09-05 00:00:16 guy Exp $";
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-msdp.c,v 1.7 2005-04-06 21:32:41 mcr Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -70,7 +70,7 @@ msdp_print(const unsigned char *sp, u_int length)
                                (void)printf(" [w/data]");
                                if (vflag > 1) {
                                        (void)printf(" ");
-                                       ip_print(sp + *sp * 12 + 8 - 3,
+                                       ip_print(gndo, sp + *sp * 12 + 8 - 3,
                                                 len - (*sp * 12 + 8));
                                }
                        }
@@ -99,3 +99,10 @@ msdp_print(const unsigned char *sp, u_int length)
 trunc:
        (void)printf(" [|msdp]");
 }
+
+/*
+ * Local Variables:
+ * c-style: whitesmith
+ * c-basic-offset: 8
+ * End:
+ */