summaryrefslogtreecommitdiff
path: root/print-gre.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-gre.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-gre.c')
-rw-r--r--print-gre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-gre.c b/print-gre.c
index ed4c957b..55f0e9d1 100644
--- a/print-gre.c
+++ b/print-gre.c
@@ -38,7 +38,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-gre.c,v 1.27 2004-07-02 06:39:11 hannes Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-gre.c,v 1.28 2005-04-06 21:32:39 mcr Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -206,7 +206,7 @@ gre_print_0(const u_char *bp, u_int length)
switch (prot) {
case ETHERTYPE_IP:
- ip_print(bp, len);
+ ip_print(gndo, bp, len);
break;
#ifdef INET6
case ETHERTYPE_IPV6: