summaryrefslogtreecommitdiff
path: root/osdep
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-06-14 10:09:26 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-06-14 10:09:26 -0700
commit4446dbde5edfd8f7ec9730886e5d577259d73de2 (patch)
treeae81ef0ee687e59c3fc2c9cacd5b77b31d95254b /osdep
parent769351b30ff270872fb8889cd2e90f408730f0b4 (diff)
downloadinfinitytier-4446dbde5edfd8f7ec9730886e5d577259d73de2.tar.gz
infinitytier-4446dbde5edfd8f7ec9730886e5d577259d73de2.zip
Big refactor in service code to prep for plumbing through route management.
Diffstat (limited to 'osdep')
-rw-r--r--osdep/RoutingTable.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/osdep/RoutingTable.hpp b/osdep/RoutingTable.hpp
index 6f430136..71ca006d 100644
--- a/osdep/RoutingTable.hpp
+++ b/osdep/RoutingTable.hpp
@@ -42,14 +42,14 @@ public:
InetAddress gateway;
/**
- * System device index or ID (not included in comparison operators, may not be set on all platforms)
+ * Metric or hop count -- higher = lower routing priority
*/
- int deviceIndex;
+ int metric;
/**
- * Metric or hop count -- higher = lower routing priority
+ * Device index -- not used on all platforms
*/
- int metric;
+ int deviceIndex;
/**
* Interface scoped route? (always false if not meaningful on this OS)