X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/edb0e92cdcaf06168a38e632847b8fd2c0a62a2d..39d15607cad1b4b463794c1a67873f6182dc52f7:/print-msdp.c diff --git a/print-msdp.c b/print-msdp.c index cf21f3f4..e1ec2b42 100644 --- a/print-msdp.c +++ b/print-msdp.c @@ -15,10 +15,6 @@ * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * 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 $"; -#endif #ifdef HAVE_CONFIG_H #include "config.h" @@ -70,7 +66,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 +95,10 @@ msdp_print(const unsigned char *sp, u_int length) trunc: (void)printf(" [|msdp]"); } + +/* + * Local Variables: + * c-style: whitesmith + * c-basic-offset: 8 + * End: + */