mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-20 21:43:08 +00:00
c24d16e62e
Added LinuxNetLink to talk to the rtnetlink socket for adding interfaces, addresses routes. Not yet complete. Can currently monitor changes on the system.
13 lines
204 B
C++
13 lines
204 B
C++
#include "osdep/LinuxNetLink.hpp"
|
|
|
|
using namespace ZeroTier;
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
LinuxNetLink &nl = LinuxNetLink::getInstance();
|
|
|
|
|
|
while(true) {
|
|
Thread::sleep(1000);
|
|
}
|
|
} |