pathd: bad order of nai adjacencies for ipv6

The order of nai adjacencies ipv6 addresses was wrong.
The src and the destination addresses were swapped.
Change it.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
Philippe Guibert 2022-03-23 17:03:53 +01:00
parent 116f0dd905
commit a38d5b7af2

View File

@ -527,7 +527,7 @@ DEFPY(srte_segment_list_segment, srte_segment_list_segment_cmd,
adj_src_ipv4, adj_dst_ipv4, adj_src_ipv4, adj_dst_ipv4,
adj_src_ipv6, adj_dst_ipv6, adj_src_ipv6, adj_dst_ipv6,
adj_src_ipv4_str, adj_dst_ipv4_str, adj_src_ipv4_str, adj_dst_ipv4_str,
adj_dst_ipv6_str, adj_src_ipv6_str); adj_src_ipv6_str, adj_dst_ipv6_str);
if (status != CMD_SUCCESS) if (status != CMD_SUCCESS)
return status; return status;
} else { } else {