1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-27 04:11:35 +01:00

Remove more WIN32 guards.

This commit is contained in:
Matias Fontanini
2015-04-18 18:15:00 -07:00
parent e2f96123a3
commit 1a9cd63397
2 changed files with 3 additions and 3 deletions

View File

@@ -134,7 +134,7 @@ const NetworkInterface& PacketSender::default_interface() const {
#if !defined(WIN32) || defined(HAVE_PACKET_SENDER_PCAP_SENDPACKET)
#ifdef WIN32
#ifndef WIN32
bool PacketSender::ether_socket_initialized(const NetworkInterface& iface) const {
#if defined(BSD) || defined(__FreeBSD_kernel__)
return _ether_socket.count(iface.id());