summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-atalk.c
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2000-04-26 21:35:45 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2000-04-26 21:35:45 +0000
commit2dd23c23770ee72b2c221e1b8ddf74531cf67e15 (patch)
tree6bc2e589e5c398c416d7cd4014d0d050bdcea861 /usr.sbin/tcpdump/print-atalk.c
parent7ffa8e1885137bf28c6c378169c6dc323b6dbbe2 (diff)
INET6
DHCP/BOOTP tcp & udp checksum detection numerous bugfixes
Diffstat (limited to 'usr.sbin/tcpdump/print-atalk.c')
-rw-r--r--usr.sbin/tcpdump/print-atalk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-atalk.c b/usr.sbin/tcpdump/print-atalk.c
index de1301b6df6..d648ab59989 100644
--- a/usr.sbin/tcpdump/print-atalk.c
+++ b/usr.sbin/tcpdump/print-atalk.c
@@ -23,7 +23,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-atalk.c,v 1.13 2000/04/03 05:43:42 itojun Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-atalk.c,v 1.14 2000/04/26 21:35:39 jakob Exp $ (LBL)";
#endif
#include <sys/param.h>
@@ -194,7 +194,7 @@ aarp_print(register const u_char *bp, u_int length)
printf("aarp ");
ap = (const struct aarp *)bp;
if (ntohs(ap->htype) == 1 && ntohs(ap->ptype) == ETHERTYPE_ATALK &&
- ap->halen == 6 && ap->palen == 4)
+ ap->halen == 6 && ap->palen == 4 )
switch (ntohs(ap->op)) {
case 1: /* request */
@@ -214,7 +214,7 @@ aarp_print(register const u_char *bp, u_int length)
}
(void)printf("len %u op %u htype %u ptype %#x halen %u palen %u",
length, ntohs(ap->op), ntohs(ap->htype), ntohs(ap->ptype),
- ap->halen, ap->palen );
+ ap->halen, ap->palen);
}
static void