X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3824a6c0417a551961d1a1bf4f94f10eff736afc..ea5736c8c68f0fc3699cff8205f2823f97a05f8b:/print-ah.c diff --git a/print-ah.c b/print-ah.c index 7d4438e8..ecd106b7 100644 --- a/print-ah.c +++ b/print-ah.c @@ -21,6 +21,10 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +#ifndef lint +static const char rcsid[] _U_ = + "@(#) $Header: /tcpdump/master/tcpdump/print-ah.c,v 1.22 2003-11-19 00:36:06 guy Exp $ (LBL)"; +#endif #ifdef HAVE_CONFIG_H #include "config.h" @@ -36,10 +40,6 @@ #include "addrtoname.h" #include "extract.h" -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-ah.c,v 1.20 2003-11-15 00:39:14 guy Exp $ (LBL)"; -#endif int ah_print(register const u_char *bp) { @@ -67,5 +67,5 @@ ah_print(register const u_char *bp) return sizeof(struct ah) + sumlen; trunc: fputs("[|AH]", stdout); - return 65535; + return -1; }