From 4446dbde5edfd8f7ec9730886e5d577259d73de2 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 14 Jun 2016 10:09:26 -0700 Subject: Big refactor in service code to prep for plumbing through route management. --- osdep/RoutingTable.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'osdep') 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) -- cgit v1.2.3