summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-atalk.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-02-02 09:43:28 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-02-02 09:43:28 +0000
commitbeb20b29475cf9d4a3a6311a67ec1004408304fc (patch)
tree97ef010a6cb664154f922e4d544610c3fb59c3af /usr.sbin/tcpdump/print-atalk.c
parent009bf16b1839115da8a6bc4bcf37470dc1d238eb (diff)
Do away with non-aligned memory accesses.
ok deraadt@ hshoexer@
Diffstat (limited to 'usr.sbin/tcpdump/print-atalk.c')
-rw-r--r--usr.sbin/tcpdump/print-atalk.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/tcpdump/print-atalk.c b/usr.sbin/tcpdump/print-atalk.c
index 4ee1e80f8e4..403b1958bc9 100644
--- a/usr.sbin/tcpdump/print-atalk.c
+++ b/usr.sbin/tcpdump/print-atalk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-atalk.c,v 1.21 2004/01/28 19:44:55 canacar Exp $ */
+/* $OpenBSD: print-atalk.c,v 1.22 2004/02/02 09:43:27 otto Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -25,7 +25,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-atalk.c,v 1.21 2004/01/28 19:44:55 canacar Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-atalk.c,v 1.22 2004/02/02 09:43:27 otto Exp $ (LBL)";
#endif
#include <sys/param.h>
@@ -223,7 +223,6 @@ ddp_print(register const u_char *bp, register u_int length, register int t,
register u_short snet, register u_char snode, u_char skt)
{
-#ifdef LBL_ALIGN
if ((long)bp & 3) {
static u_char *abuf = NULL;
@@ -237,7 +236,6 @@ ddp_print(register const u_char *bp, register u_int length, register int t,
packetp = abuf;
bp = abuf;
}
-#endif
switch (t) {