mirror of
https://github.com/mfontanini/libtins
synced 2026-01-25 19:51:34 +01:00
libtins compiles and runs under windows. Packets apparently can't be sent yet.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <string>
|
||||
#include "network_interface.h"
|
||||
#include "utils.h"
|
||||
#include "arch.h"
|
||||
#include "macros.h"
|
||||
|
||||
using namespace Tins;
|
||||
|
||||
@@ -14,6 +14,10 @@ public:
|
||||
#ifdef BSD
|
||||
const std::string NetworkInterfaceTest::iface_name("lo0"),
|
||||
NetworkInterfaceTest::iface_addr("");
|
||||
#elif defined(WIN32)
|
||||
// modify me on every windows environment :D
|
||||
const std::string NetworkInterfaceTest::iface_name("{INSERT-SOME-INTERFACE-NAME}"),
|
||||
NetworkInterfaceTest::iface_addr("");
|
||||
#else
|
||||
const std::string NetworkInterfaceTest::iface_name("lo"),
|
||||
NetworkInterfaceTest::iface_addr("");
|
||||
|
||||
Reference in New Issue
Block a user