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
Reported-at: #42
Submitted-at: #43
Signed-off-by: Artem Teleshev <artem.teleshev@gmail.com>
Signed-off-by: Numan Siddique <numans@ovn.org>
  • Loading branch information
ateleshev authored and numansiddique committed May 8, 2020
1 parent 8fcbcca commit 5d80bb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Antonio Fischetti antonio.fischetti@intel.com
Anupam Chanda
Ariel Tubaltsev atubaltsev@vmware.com
Arnoldo Lutz arnoldo.lutz.guevara@hpe.com
Artem Teleshev artem.teleshev@gmail.com
Arun Sharma arun.sharma@calsoftinc.com
Aryan TaheriMonfared aryan.taherimonfared@uis.no
Asaf Penso asafp@mellanox.com
Expand Down
2 changes: 1 addition & 1 deletion northd/ovn-northd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5d80bb5

Please sign in to comment.