From 4e95384ad60c853f01c50e233b8cb48f239f033f Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 5 Jan 2015 17:47:59 -0800 Subject: Cleanup, add tristate to config code in Network, and happy new year! --- osnet/LinuxRoutingTable.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'osnet/LinuxRoutingTable.cpp') diff --git a/osnet/LinuxRoutingTable.cpp b/osnet/LinuxRoutingTable.cpp index 736323be..faa39a28 100644 --- a/osnet/LinuxRoutingTable.cpp +++ b/osnet/LinuxRoutingTable.cpp @@ -1,6 +1,6 @@ /* * ZeroTier One - Global Peer to Peer Ethernet - * Copyright (C) 2011-2014 ZeroTier Networks LLC + * Copyright (C) 2011-2015 ZeroTier Networks * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -65,7 +65,7 @@ std::vector LinuxRoutingTable::get(bool includeLinkLocal,bo std::vector entries; { - int fd = ::open("/proc/net/route",O_RDONLY); + int fd = ::open("/proc/net/route",O_RDONLY); if (fd <= 0) buf[0] = (char)0; else { -- cgit v1.2.3