mirror of
https://github.com/slackhq/nebula.git
synced 2025-11-22 08:24:25 +01:00
Add ability to skip installing unsafe routes on the os routing table (#831)
This commit is contained in:
@@ -86,7 +86,7 @@ func (t *tun) Activate() error {
|
||||
}
|
||||
// Unsafe path routes
|
||||
for _, r := range t.Routes {
|
||||
if r.Via == nil {
|
||||
if r.Via == nil || !r.Install {
|
||||
// We don't allow route MTUs so only install routes with a via
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user