The current comments are obviously conflicting.  Fixing it according the
current implementation - static route overrides src-ip route.

Signed-off-by: Han Zhou <hz...@ovn.org>
---
 northd/northd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/northd/northd.c b/northd/northd.c
index 331d9c2677b8..dec1eb3679f5 100644
--- a/northd/northd.c
+++ b/northd/northd.c
@@ -271,7 +271,7 @@ static bool default_acl_drop;
  * Route offsets implement logic to prioritize traffic for routes with
  * same ip_prefix values:
  *  -  connected route overrides static one;
- *  -  static route overrides connected route. */
+ *  -  static route overrides src-ip route. */
 #define ROUTE_PRIO_OFFSET_MULTIPLIER 3
 #define ROUTE_PRIO_OFFSET_STATIC 1
 #define ROUTE_PRIO_OFFSET_CONNECTED 2
-- 
2.38.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to