This patch fixes typo in consider_l3dgw_port_is_centralized() function.

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

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);
         }
-- 
2.36.1

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

Reply via email to