summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump/tcpdump.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-06-30 04:25:11 +0000
committerderaadt <deraadt@openbsd.org>2014-06-30 04:25:11 +0000
commit3a8058f538997b2689ba31ec7a3dbc578515b897 (patch)
tree8d6fa1bc950f3dc81414a6914a63d473f62c376c /usr.sbin/tcpdump/tcpdump.c
parentsys/types.h rather than sys/param.h, where applicable. avoid overreach. (diff)
downloadwireguard-openbsd-3a8058f538997b2689ba31ec7a3dbc578515b897.tar.xz
wireguard-openbsd-3a8058f538997b2689ba31ec7a3dbc578515b897.zip
remove backwards compat layer for alpha osf1. back then compilers and
the parsers sucked, so byte misalignment repair was requested. These days it means the parsers should improve. ok lteo
Diffstat (limited to 'usr.sbin/tcpdump/tcpdump.c')
-rw-r--r--usr.sbin/tcpdump/tcpdump.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.c b/usr.sbin/tcpdump/tcpdump.c
index 509661b26a5..c41a41cfedb 100644
--- a/usr.sbin/tcpdump/tcpdump.c
+++ b/usr.sbin/tcpdump/tcpdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpdump.c,v 1.65 2012/07/11 10:37:38 sthen Exp $ */
+/* $OpenBSD: tcpdump.c,v 1.66 2014/06/30 04:25:11 deraadt Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -48,7 +48,6 @@
#include "interface.h"
#include "addrtoname.h"
-#include "machdep.h"
#include "setsignal.h"
#include "gmt2local.h"
@@ -224,8 +223,6 @@ main(int argc, char **argv)
error("Failed to setup privsep");
/* state: STATE_INIT */
- if (abort_on_misalignment(ebuf, sizeof(ebuf)) < 0)
- error("%s", ebuf);
opterr = 0;
while ((op = getopt(argc, argv,