diff mbox series

[ovs-dev,v2,2/2] northd: fix typo in consider_l3d{wg, gw}... function

Message ID 20230121164609.3625347-2-odivlad@gmail.com
State Accepted
Headers show
Series [ovs-dev,v2,1/2] northd: make traffic routed to vtep lport distributed | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed
ovsrobot/github-robot-_ovn-kubernetes fail github build: failed

Commit Message

Vladislav Odintsov Jan. 21, 2023, 4:46 p.m. UTC
This patch fixes typo in consider_l3dgw_port_is_centralized() function.

Signed-off-by: Vladislav Odintsov <odivlad@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
---
 northd/northd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/northd/northd.c b/northd/northd.c
index 46ed39850..bc2d79164 100644
--- a/northd/northd.c
+++ b/northd/northd.c
@@ -11636,7 +11636,7 @@  build_gateway_mtu_flow(struct hmap *lflows, struct ovn_port *op,
 }
 
 static bool
-consider_l3dwg_port_is_centralized(struct ovn_port *op)
+consider_l3dgw_port_is_centralized(struct ovn_port *op)
 {
     if (l3dgw_port_has_associated_vtep_lports(op)) {
         return false;
@@ -11687,7 +11687,7 @@  build_adm_ctrl_flows_for_lrouter_port(
         ds_clear(match);
         ds_put_format(match, "eth.dst == %s && inport == %s",
                       op->lrp_networks.ea_s, op->json_key);
-        if (consider_l3dwg_port_is_centralized(op)) {
+        if (consider_l3dgw_port_is_centralized(op)) {
             ds_put_format(match, " && is_chassis_resident(%s)",
                           op->cr_port->json_key);
         }