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.)
This commit is contained in:
parent
6535730255
commit
3f2b21ce71
2 changed files with 5 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue