print 3-digit ttl field in print-ip.c
unbracketize the LCP id in print-ppp.c
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.122 2003-05-08 14:26:54 hannes Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-ip.c,v 1.123 2003-05-15 15:25:18 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
}
if (ip->ip_ttl >= 1)
- (void)printf(", ttl %u", ip->ip_ttl);
+ (void)printf(", ttl %3u", ip->ip_ttl);
/*
* for the firewall guys, print id, offset.
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.82 2003-05-11 08:59:22 hannes Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-ppp.c,v 1.83 2003-05-15 15:25:19 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
code = *tptr++;
- printf("%s (%u)",
+ printf("%s, id %u",
tok2str(cpcodes, "Unknown Opcode 0x%02x",code),
*tptr++); /* ID */