diff options
Diffstat (limited to 'osdep/RoutingTable.hpp')
-rw-r--r-- | osdep/RoutingTable.hpp | 8 |
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) |