diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-07-17 17:17:59 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-07-17 17:17:59 -0700 |
| commit | 1189f4a568a5a141ba8f257f6317197d5083019a (patch) | |
| tree | b1ef2fdd5872faf902b2e03b1f70f8e862bf64cd /node/BSDRoutingTable.hpp | |
| parent | 51766e6549ebf0e8e9e668549f28cc1331d1912b (diff) | |
| download | infinitytier-1189f4a568a5a141ba8f257f6317197d5083019a.tar.gz infinitytier-1189f4a568a5a141ba8f257f6317197d5083019a.zip | |
Set/delete functionality in BSD routing table.
Diffstat (limited to 'node/BSDRoutingTable.hpp')
| -rw-r--r-- | node/BSDRoutingTable.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/BSDRoutingTable.hpp b/node/BSDRoutingTable.hpp index 7c4c9dcb..26237b12 100644 --- a/node/BSDRoutingTable.hpp +++ b/node/BSDRoutingTable.hpp @@ -43,7 +43,7 @@ public: BSDRoutingTable(); virtual ~BSDRoutingTable(); virtual std::vector<RoutingTable::Entry> get(bool includeLinkLocal = false,bool includeLoopback = false) const; - virtual bool set(const RoutingTable::Entry &re); + virtual RoutingTable::Entry set(const InetAddress &destination,const InetAddress &gateway,const char *device,int metric); }; } // namespace ZeroTier |
