1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Fix build issues when disabling Dot11

Fixes #258
This commit is contained in:
Matias Fontanini
2017-10-18 06:40:51 -07:00
parent c439eccdf8
commit f4635a696e
5 changed files with 49 additions and 28 deletions

View File

@@ -40,24 +40,6 @@ CREATE_TEST(arp)
CREATE_TEST(dhcp)
CREATE_TEST(dhcpv6)
CREATE_TEST(dns)
CREATE_TEST(dot11/ack)
CREATE_TEST(dot11/assoc_request)
CREATE_TEST(dot11/assoc_response)
CREATE_TEST(dot11/authentication)
CREATE_TEST(dot11/beacon)
CREATE_TEST(dot11/block_ack_request)
CREATE_TEST(dot11/cf_end)
CREATE_TEST(dot11/cf_end_ack)
CREATE_TEST(dot11/data)
CREATE_TEST(dot11/deauthentication)
CREATE_TEST(dot11/disassoc)
CREATE_TEST(dot11/dot11)
CREATE_TEST(dot11/probe_request)
CREATE_TEST(dot11/probe_response)
CREATE_TEST(dot11/ps_poll)
CREATE_TEST(dot11/reassoc_request)
CREATE_TEST(dot11/reassoc_response)
CREATE_TEST(dot11/rts)
CREATE_TEST(dot1q)
CREATE_TEST(ethernet)
CREATE_TEST(hw_address)
@@ -79,7 +61,6 @@ CREATE_TEST(pdu)
CREATE_TEST(pdu_iterator)
CREATE_TEST(pppoe)
CREATE_TEST(raw_pdu)
CREATE_TEST(radiotap)
CREATE_TEST(rc4_eapol)
CREATE_TEST(rsn_eapol)
CREATE_TEST(sll)
@@ -89,14 +70,39 @@ CREATE_TEST(tcp)
CREATE_TEST(tcp_ip)
CREATE_TEST(udp)
CREATE_TEST(utils)
CREATE_TEST(wep_decrypt)
IF(LIBTINS_ENABLE_PCAP)
CREATE_TEST(offline_packet_filter)
CREATE_TEST(ppi)
CREATE_TEST(tcp_stream)
IF(LIBTINS_ENABLE_DOT11)
CREATE_TEST(ppi)
ENDIF()
ENDIF()
IF(LIBTINS_ENABLE_DOT11)
CREATE_TEST(dot11/ack)
CREATE_TEST(dot11/assoc_request)
CREATE_TEST(dot11/assoc_response)
CREATE_TEST(dot11/authentication)
CREATE_TEST(dot11/beacon)
CREATE_TEST(dot11/block_ack_request)
CREATE_TEST(dot11/cf_end)
CREATE_TEST(dot11/cf_end_ack)
CREATE_TEST(dot11/data)
CREATE_TEST(dot11/deauthentication)
CREATE_TEST(dot11/disassoc)
CREATE_TEST(dot11/dot11)
CREATE_TEST(dot11/probe_request)
CREATE_TEST(dot11/probe_response)
CREATE_TEST(dot11/ps_poll)
CREATE_TEST(dot11/reassoc_request)
CREATE_TEST(dot11/reassoc_response)
CREATE_TEST(dot11/rts)
CREATE_TEST(radiotap)
CREATE_TEST(wep_decrypt)
IF(LIBTINS_ENABLE_WPA2)
CREATE_TEST(wpa2_decrypt)
ENDIF()
ENDIF()
IF(LIBTINS_ENABLE_WPA2)
CREATE_TEST(wpa2_decrypt)
ENDIF()