Skip to content

Commit

Permalink
Reset the route flag before moving the rule
Browse files Browse the repository at this point in the history
Signed-off-by: ahenan <ahenan00@gmail.com>
  • Loading branch information
ahenan authored and ahenan committed Apr 6, 2020
1 parent 117e30f commit 6344a7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/meta/sbr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ func doRoutes(ipCfgs []*current.IPConfig, origRoutes []*types.Route, iface strin
}

route.Table = table
route.Flags = 0

// We use route replace in case the route already exists, which
// is possible for the default gateway we added above.
Expand Down

0 comments on commit 6344a7d

Please sign in to comment.