mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 12:06:55 +02:00
Comment cleanup.
This commit is contained in:
parent
4f237687ce
commit
e2ca239be0
2 changed files with 6 additions and 2 deletions
|
@ -346,9 +346,10 @@ static bool _winRoute(bool del,const NET_LUID &interfaceLuid,const NET_IFINDEX &
|
|||
} // anonymous namespace
|
||||
|
||||
/* Linux NOTE: for default route override, some Linux distributions will
|
||||
* require a change to the rp_filter parameter.
|
||||
* require a change to the rp_filter parameter. A value of '1' will prevent
|
||||
* default route override from working properly.
|
||||
*
|
||||
* sudo sysctl net.ipv4.conf.all.rp_filter=2
|
||||
* sudo sysctl -w net.ipv4.conf.all.rp_filter=2
|
||||
*
|
||||
* Add to /etc/sysctl.conf or /etc/sysctl.d/... to make permanent.
|
||||
*
|
||||
|
|
|
@ -50,6 +50,9 @@ public:
|
|||
/**
|
||||
* Initialize object and set route
|
||||
*
|
||||
* Note: on Windows, use the interface NET_LUID in hexadecimal as the
|
||||
* "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
|
||||
|
|
Loading…
Add table
Reference in a new issue