X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/bbc1cfa669a5f51ed26bae3784447076e3fbc80f..b116cd9ac44b940cdda9493bb77e81ea42f1db7d:/print-ipcomp.c diff --git a/print-ipcomp.c b/print-ipcomp.c index 89bcac70..89130a37 100644 --- a/print-ipcomp.c +++ b/print-ipcomp.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-ipcomp.c,v 1.19 2003-11-16 09:36:24 guy Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ipcomp.c,v 1.20 2003-11-19 00:36:08 guy Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -48,7 +48,7 @@ struct ipcomp { #include "extract.h" int -ipcomp_print(register const u_char *bp, int *nhdr) +ipcomp_print(register const u_char *bp, int *nhdr _U_) { register const struct ipcomp *ipcomp; register const u_char *ep; @@ -87,7 +87,5 @@ ipcomp_print(register const u_char *bp, int *nhdr) #endif fail: - if (nhdr) - *nhdr = -1; - return 65536; + return -1; }