This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/nltest.cpp
Grant Limberg c24d16e62e ManagedRoute uses ioctl to add/remove routes on Linux
Added LinuxNetLink to talk to the rtnetlink socket for adding interfaces, addresses routes.  Not yet complete.  Can currently monitor changes on the system.
2018-05-24 15:22:11 -07:00

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);
}
}