X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/79877e90f4799e15c2f2ab71ed2a935f244761c3..a9a7c86c7875a38358a9ff1f2a35e93febf6f41e:/print-igrp.c?ds=sidebyside diff --git a/print-igrp.c b/print-igrp.c index a9ac1172..3cede7ec 100644 --- a/print-igrp.c +++ b/print-igrp.c @@ -22,8 +22,8 @@ */ #ifndef lint -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-igrp.c,v 1.18 2002-08-06 04:42:05 guy Exp $ (LBL)"; +static const char rcsid[] _U_ = + "@(#) $Header: /tcpdump/master/tcpdump/print-igrp.c,v 1.21 2005-04-20 21:01:56 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -77,15 +77,13 @@ static struct tok op2str[] = { }; void -igrp_print(register const u_char *bp, u_int length, register const u_char *bp2) +igrp_print(register const u_char *bp, u_int length, const u_char *bp2 _U_) { register struct igrphdr *hdr; - register struct ip *ip; register u_char *cp; u_int nint, nsys, next; hdr = (struct igrphdr *)bp; - ip = (struct ip *)bp2; cp = (u_char *)(hdr + 1); (void)printf("igrp:");