-# $OpenBSD: Makefile,v 1.57 2015/10/10 07:52:30 stsp Exp $
+# $OpenBSD: Makefile,v 1.58 2015/10/13 14:36:15 stsp Exp $
#
# Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994
# The Regents of the University of California. All rights reserved.
CFLAGS+=-DCSLIP -DPPP -DHAVE_FDDI -DETHER_SERVICE -DRETSIGTYPE=void -DHAVE_NET_SLIP_H -DHAVE_ETHER_NTOHOST -DINET6
-LDADD+= -lpcap -ll -lcrypto -lm
+LDADD+= -lpcap -ll -lcrypto
DPADD+= ${LIBL} ${LIBPCAP} ${LIBCRYPTO}
SRCS= tcpdump.c addrtoname.c privsep.c privsep_fdpass.c privsep_pcap.c \
-/* $OpenBSD: print-802_11.c,v 1.26 2015/10/12 13:01:50 stsp Exp $ */
+/* $OpenBSD: print-802_11.c,v 1.27 2015/10/13 14:36:15 stsp Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
#include <pcap.h>
#include <stdio.h>
#include <string.h>
-#include <math.h>
#include "addrtoname.h"
#include "interface.h"
if ((ampdu & IEEE80211_AMPDU_PARAM_LE) >= 0 &&
(ampdu & IEEE80211_AMPDU_PARAM_LE) <= 3)
printf(",A-MPDU max %d",
- (int)(exp2f(13 + (ampdu & IEEE80211_AMPDU_PARAM_LE)) - 1));
+ (1 << (13 + (ampdu & IEEE80211_AMPDU_PARAM_LE))) - 1);
/* A-MPDU start spacing */
if (ampdu & IEEE80211_AMPDU_PARAM_SS) {