Skip to content

Commit

Permalink
Fix typo for validation of logical ip in ipv6 mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ateleshev committed May 7, 2020
1 parent f792b1a commit a3350a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion northd/ovn-northd.c
Original file line number Diff line number Diff line change
Expand Up @@ -8828,7 +8828,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);
}
Expand Down

0 comments on commit a3350a7

Please sign in to comment.