From 3f2b21ce71be81ae960a4a6197555a92158a74e3 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 12 Jul 2016 08:55:57 -0700 Subject: Do not shadow our own route twice on Mac if there is no default route. (Fix for issue found during IPv6 default route override testing.) --- osdep/ManagedRoute.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'osdep/ManagedRoute.hpp') diff --git a/osdep/ManagedRoute.hpp b/osdep/ManagedRoute.hpp index 5dde12ad..63310f24 100644 --- a/osdep/ManagedRoute.hpp +++ b/osdep/ManagedRoute.hpp @@ -54,8 +54,8 @@ public: * "device name." * * @param target Route target (e.g. 0.0.0.0/0 for default) - * @param via Route next L3 hop or NULL InetAddress if local - * @param device Device name/ID if 'via' is null and route is local, otherwise ignored + * @param via Route next L3 hop or NULL InetAddress if local in which case it will be routed via device + * @param device Name or hex LUID of ZeroTier device (e.g. zt#) * @return True if route was successfully set */ inline bool set(const InetAddress &target,const InetAddress &via,const char *device) -- cgit v1.2.3