summaryrefslogtreecommitdiff
path: root/print-msdp.c
diff options
context:
space:
mode:
authormcr <mcr>2005-04-06 21:32:38 +0000
committermcr <mcr>2005-04-06 21:32:38 +0000
commit4189fb7df651e5742b15488d2f59dae5f526e82b (patch)
tree833c12cee17285e7709688606850e5a5c1108be2 /print-msdp.c
parent82b1d075858faa41c5749108489c7c1ffaf8f185 (diff)
downloadtcpdump-4189fb7df651e5742b15488d2f59dae5f526e82b.tar.gz
refactored ip_print() so that chained header parser (ESP/AH) can
more easily call the inner parts.
Diffstat (limited to 'print-msdp.c')
-rw-r--r--print-msdp.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/print-msdp.c b/print-msdp.c
index 50d445e5..a228ab7c 100644
--- a/print-msdp.c
+++ b/print-msdp.c
@@ -17,7 +17,7 @@
*/
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-msdp.c,v 1.6 2003-11-16 09:36:29 guy Exp $";
+ "@(#) $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:
+ */