From: Artem Teleshev <[email protected]>

Reported-at: https://github.com/ovn-org/ovn/issues/42
Submitted-at: https://github.com/ovn-org/ovn/pull/43
Signed-off-by: Artem Teleshev <[email protected]>
Signed-off-by: Numan Siddique <[email protected]>
---
 northd/ovn-northd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/northd/ovn-northd.c b/northd/ovn-northd.c
index 83e6134b0..76b4a14ee 100644
--- a/northd/ovn-northd.c
+++ b/northd/ovn-northd.c
@@ -8845,7 +8845,7 @@ build_lrouter_flows(struct hmap *datapaths, struct hmap 
*ports,
             /* Check the validity of nat->logical_ip. 'logical_ip' can
              * be a subnet when the type is "snat". */
             if (is_v6) {
-                error = ipv6_parse_masked(nat->external_ip, &ipv6, &mask_v6);
+                error = ipv6_parse_masked(nat->logical_ip, &ipv6, &mask_v6);
             } else {
                 error = ip_parse_masked(nat->logical_ip, &ip, &mask);
             }
-- 
2.26.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to