1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-27 12:14:26 +01:00

Fix more precompiler conditionals.

This commit is contained in:
Matias Fontanini
2015-04-18 18:19:56 -07:00
parent 0d9fe13166
commit 621af33a81

View File

@@ -175,7 +175,7 @@ void EthernetII::write_serialization(uint8_t *buffer, uint32_t total_sz, const P
}
PDU *EthernetII::recv_response(PacketSender &sender, const NetworkInterface &iface) {
#if !defined(BSD) && !defined(__FreeBSD_kernel__) && !HAVE_PACKET_SENDER_PCAP_SENDPACKET
#if !defined(BSD) && !defined(__FreeBSD_kernel__) && !defined(HAVE_PACKET_SENDER_PCAP_SENDPACKET)
struct sockaddr_ll addr;
memset(&addr, 0, sizeof(struct sockaddr_ll));