#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.71 1999-10-30 05:30:20 itojun Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.72 1999-10-30 07:36:37 itojun Exp $ (LBL)";
#endif
#include <sys/param.h>
again:
switch (nh) {
+#ifndef IPPROTO_AH
+#define IPPROTO_AH 51
+#endif
case IPPROTO_AH:
nh = *cp;
advance = ah_print(cp, (const u_char *)ip);
len -= advance;
goto again;
+#ifndef IPPROTO_ESP
+#define IPPROTO_ESP 50
+#endif
case IPPROTO_ESP:
{
int enh;