diff options
author | Grant Limberg <grant.limberg@zerotier.com> | 2018-05-25 15:37:00 -0700 |
---|---|---|
committer | Grant Limberg <grant.limberg@zerotier.com> | 2018-05-25 15:37:00 -0700 |
commit | 3ace61ef85a02ad047d4ed2e96a6fc1f487c32d6 (patch) | |
tree | 3b4e08b7cff878c4c3547fd00a0ddf5c3517cc5a /osdep/LinuxNetLink.hpp | |
parent | 442595d6fc102fcb0bbf7d725149b67b5963944e (diff) | |
download | infinitytier-3ace61ef85a02ad047d4ed2e96a6fc1f487c32d6.tar.gz infinitytier-3ace61ef85a02ad047d4ed2e96a6fc1f487c32d6.zip |
comment out addInterface/removeInterface code for now
We already have ioctl based code to do this
Diffstat (limited to 'osdep/LinuxNetLink.hpp')
-rw-r--r-- | osdep/LinuxNetLink.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/osdep/LinuxNetLink.hpp b/osdep/LinuxNetLink.hpp index 188c8a77..ad457772 100644 --- a/osdep/LinuxNetLink.hpp +++ b/osdep/LinuxNetLink.hpp @@ -36,6 +36,7 @@ #include <linux/if.h> #include "../node/InetAddress.hpp" +#include "../node/MAC.hpp" #include "Thread.hpp" #include "../node/Hashtable.hpp" @@ -74,9 +75,11 @@ public: RouteList getIPV4Routes() const; RouteList getIPV6Routes() const; - void addInterface(const char *iface, unsigned int mtu); + // void addInterface(const char *iface, unsigned int mtu, const MAC &mac); + // void removeInterface(const char *iface); void addAddress(const InetAddress &addr, const char *iface); + void removeAddress(const InetAddress &addr, const char *iface); void threadMain() throw(); private: |